RelatedEnd.ValidateOwnerForAttach Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ensures that the object to which the related end belongs supports an attach operation.
protected public:
void ValidateOwnerForAttach();
protected internal void ValidateOwnerForAttach();
member this.ValidateOwnerForAttach : unit -> unit
Protected Friend Sub ValidateOwnerForAttach ()
When the source object is not attached to the ObjectContext, was returned from a NoTracking query, or is not in a Modified or Unchanged state.
Object Services calls the ValidateOwnerForAttach method before executing an attach operation to ensure that the operation will succeed.
Продукт | Версии |
---|---|
.NET Framework | 3.5 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: