Initializes a new instance of the
GenerateInsertWithIDAttribute
class.
- Namespace
- DbSyncKit
.DB .Attributes - Containing Type
- Generate
Insert With I D Attribute
Syntax
public GenerateInsertWithIDAttribute(bool generateWithID = true, bool includeIdentityInsert = true)
Parameters
Name | Type | Description |
---|---|---|
generateWithID | bool | Indicates whether the insert query generation should include the ID property.
Default is true . |
includeIdentityInsert | bool | Indicates whether to include identity insert statements in the
insert query generation. Default is true . |