Share via


IRelatedEnd.Attach Method

Definition

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