Skip to content

ColumnCharacterAttribute Constructors ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
ColumnCharacterAttribute()Default constructor – allows per-property configuration.
ColumnCharacterAttribute(string name = null, bool nullable = null, string default = null, string comment = null, int maxLength = null, int minLength = null, string collation = null, bool ftsIndex = null)Constructor allowing named parameters

ColumnCharacterAttribute() ​

csharp
ColumnCharacterAttribute()

Default constructor – allows per-property configuration.

ColumnCharacterAttribute(string name = null, bool nullable = null, string default = null, string comment = null, int maxLength = null, int minLength = null, string collation = null, bool ftsIndex = null) ​

csharp
ColumnCharacterAttribute(string name = null, bool nullable = null, string default = null, string comment = null, int maxLength = null, int minLength = null, string collation = null, bool ftsIndex = null)

Constructor allowing named parameters

Parameters ​

NameDescription
collationSet the named collation to use when creating the column in the database
commentSets the SQL Comment used if a table is created
defaultSets the default value assigned to the column, used during table creation or schema modification.
ftsIndexSet whether column should be indexed for Full Text Searching
maxLengthMax number of characters
minLengthMinimum length of characters
nameSets the Name of the database column
nullableSets whether the column allows null values.