SqlColumnBaseDefinition Class |
Namespace: MicaSystems.Utils
public class SqlColumnBaseDefinition
The SqlColumnBaseDefinition type exposes the following members.
Name | Description | |
---|---|---|
SqlColumnBaseDefinition |
Name | Description | |
---|---|---|
AdaptFilter |
Gets or sets an optionnal method that customizes filters before their insertion in an SQL query.
| |
AllowNulls |
Gets or sets a value indicating whether the column must accept NULL value.
| |
ColumnName |
Gets or sets the name of the column in the database.
| |
ColumnType |
Gets or sets the sql type of the column.
| |
ComplexTypeAsString |
Gets or sets a value identifying an advanced type of values.
| |
CreateAs |
Gets or sets a custom column name for its creation.
| |
HasComplexValue |
Gets or sets a value indicating whether this column
contains values that must be loaded into a more complex object.
| |
IdentifierType |
Gets or sets a special behavior of the column in the database.
| |
IndexGroup |
Gets or sets the name of the index on this column.
Use this property to group multiple columns inside a same index. | |
NeverSave |
Gets or sets a value indicating
whether this column must be skipped for each save operation.
| |
OperationsSettings |
Gets or sets an object changing the way this column should be used in various query operations.
| |
Size |
Gets or sets the size of the column.
| |
Type |
Gets the .Net type corresponding to this column SQL type.
| |
UseMaxSize |
Gets or sets a value indicating whether this column must use MAX size.
Ex : nvarchar(MAX). | |
ValueInitialization |
Method to call each time a value of this column
is loaded from the database and is being placed in its object.
|
Name | Description | |
---|---|---|
GetCreationColumnName |
Gets the column name used to create this column.
| |
GetCreationSQLCode |
Generates the part of the query identifying the column for its creation.
| |
GetSQLType |
Generate the full SQL identification code for this column.
Ex : DECIMAL(38, 8) or NVARCHAR(MAX) or VARBINARY(255) | |
ToString |
Generates a display text identifying this column definition.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |