IRelatedEnd.Attach Method
Definition
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.
Overloads
Attach(IEntityWithRelationships) |
Defines a relationship between two attached objects. |
Attach(Object) |
Defines a relationship between two attached objects. |
Attach(IEntityWithRelationships)
Defines a relationship between two attached objects.
public void Attach (System.Data.Entity.Core.Objects.DataClasses.IEntityWithRelationships entity);
abstract member Attach : System.Data.Entity.Core.Objects.DataClasses.IEntityWithRelationships -> unit
Public Sub Attach (entity As IEntityWithRelationships)
Parameters
- entity
- IEntityWithRelationships
The object being attached. entity must implement IEntityWithRelationships .
Applies to
Attach(Object)
Defines a relationship between two attached objects.
public void Attach (object entity);
abstract member Attach : obj -> unit
Public Sub Attach (entity As Object)
Parameters
- entity
- Object
The object being attached.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework