Shunde.NET Framework Class Library

DBColumn Members

DBColumn overview

Public Static Fields

DateTimeNullValueThe C# DateTime Value that represents the database NULL Value
DoubleNullValueThe C# double Value that represents the database NULL Value
FloatNullValueThe C# float Value that represents the database NULL Value
IntegerNullValueThe C# integer Value that represents the database NULL Value
LongNullValueThe C# long Value that represents the database NULL Value
ShortNullValueThe C# short Value that represents the database NULL Value

Public Static Methods

IsColumnNullDetermines whether the given object should be considered to be null by the database.

Public Instance Constructors

DBColumn Overloaded. Initializes a new instance of the DBColumn class.

Public Instance Properties

AllowNullsSpecifies whether or not this column allows NULL values into the database.
ConstraintsAny CHECK CONSTRAINTS that aren't covered by other fields in the DBColumn class can be specified manually.
DBTableThe Table that this column is a part of
FieldInfo Gets the field info that corresponds to this column
IsUniqueSpecifies that this column should be unique in the Table
MaxAllowedRepresents the maximum Value that this column is allowed.
MaxLengthThis is the maximum number of characters allowed for a string in this column
MinAllowedRepresents the minimum Value that this column is allowed.
MinLengthThis is the minimum number of characters allowed for a string in this column
NameThe Name of this column
TypeThe C# Type of the column

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetColumnNameGets the database column Name of this column
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetSqlTextGets the Value of this object in a suitable manner for use in SQL statements
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.
ValidateChecks that the given Value is within the constraints placed upon it by this column.

See Also

DBColumn Class | Shunde.Framework Namespace