7 [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
17 : this(name, type, size, -1) {
21 : this(name, type, -1) {
29 : this(null, type, size, scale) {
33 : this(type, size, -1) {
52 public string ColumnName {
get; set; }
56 public int Size {
get; set; }
58 public int Scale {
get; set; }
ColumnAttribute(string name, SqlTypeCode type, int size)
ColumnAttribute(int size)
ColumnAttribute(SqlTypeCode type, int size)
ColumnAttribute(string name)
ColumnAttribute(string name, SqlTypeCode type, int size, int scale)
ColumnAttribute(SqlTypeCode type)
ColumnAttribute(int size, int scale)
Defines the properties of a specific SQL Type and handles the values compatible.
SqlTypeCode
Enumerates the codes of all SQL types handled by the system.
ColumnAttribute(SqlTypeCode type, int size, int scale)
ColumnAttribute(string name, SqlTypeCode type)