Click or drag to resize

CollectionCoreTAddNew Method

Will add a new entity to the list, will set its parent collection property so CancelEdit will remove it from the list again, and will set its flag that it is added by databinding.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public abstract T AddNew()

Return Value

Type: T
Exceptions
ExceptionCondition
InvalidOperationExceptionIf this collection is set to ReadOnly
Remarks
Do not call this method from your own code. This is a databinding ONLY method.
See Also