Share via


IRelatedEnd.Add Method

Definition

Overloads

Add(IEntityWithRelationships)

Adds an object to the related end.

Add(Object)

Adds an object to the related end.

Add(IEntityWithRelationships)

Adds an object to the related end.

public void Add (System.Data.Entity.Core.Objects.DataClasses.IEntityWithRelationships entity);
abstract member Add : System.Data.Entity.Core.Objects.DataClasses.IEntityWithRelationships -> unit
Public Sub Add (entity As IEntityWithRelationships)

Parameters

entity
IEntityWithRelationships

An object to add to the collection. entity must implement IEntityWithRelationships .

Applies to

Add(Object)

Adds an object to the related end.

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

Parameters

entity
Object

An object to add to the collection.

Applies to