GenerateInsertWithIDAttribute(bool, bool) Constructor
Initializes a new instance of the GenerateInsertWithIDAttribute class.

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.