Udostępnij przez


IRelatedEnd.Attach Metoda

Definicja

Przeciążenia

Attach(IEntityWithRelationships)

Definiuje relację między dwoma dołączonymi obiektami.

Attach(Object)

Definiuje relację między dwoma dołączonymi obiektami.

Attach(IEntityWithRelationships)

Definiuje relację między dwoma dołączonymi obiektami.

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)

Parametry

entity
IEntityWithRelationships

Obiekt, który jest dołączony. jednostka musi zaimplementować IEntityWithRelationships element .

Dotyczy

Attach(Object)

Definiuje relację między dwoma dołączonymi obiektami.

public void Attach(object entity);
abstract member Attach : obj -> unit
Public Sub Attach (entity As Object)

Parametry

entity
Object

Obiekt, który jest dołączony.

Dotyczy