IRelatedEnd.Add 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
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
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