IRelatedEnd.Add Method
Adds an entity to the related end.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Add(IEntityWithRelationships) | Adds an object to the related end. |
![]() | Add(Object) | Adds an object to the related end. |
IRelatedEnd.Add Method (IEntityWithRelationships)
Adds an object to the related end.
Parameters
- entity
-
Type:
System.Data.Entity.Core.Objects.DataClasses.IEntityWithRelationships
An object to add to the collection. entity must implement IEntityWithRelationships .