public Entity Add( Entity entity, System.bool addEntityData )
Parameters
- entity
- An Entity object that represents the new Entity (Data Object) to add.
- addEntityData
- Should always be true. If this argument is omitted, it will default to true.
public Entity Add( Entity entity, System.bool addEntityData )
Exception | Description |
---|---|
System.Data.Linq.DuplicateKeyException | Exception is thrown if trying to add an Entity (Data Object) to the collection that already exists. |