Adds the given fields to the database as a new entity.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax bool AddNew(
IEntityFields fields,
ITransaction containingTransaction
)
Function AddNew (
fields As IEntityFields,
containingTransaction As ITransaction
) As Boolean
Parameters
- fields
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
The EntityField data to use for the insert. - containingTransaction
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction, if caller is added to a transaction, or null if not.
Return Value
Type:
Booleantrue if the addition was succesful, false otherwise
Exceptions See Also