DBTypeDefinition Class |
Namespace: SD.LLBLGen.Pro.DBDriverCore
The DBTypeDefinition type exposes the following members.
Name | Description | |
---|---|---|
DBTypeDefinition |
CTor
| |
DBTypeDefinition(Int32, String, Type, String, String, String, Int32, Int32, Int32, Boolean, Boolean) |
Initializes a new instance of the DBTypeDefinition class.
|
Name | Description | |
---|---|---|
DBType |
The numeric representation of the datatype.
| |
DBTypeAsNETType |
The .NET type representation of the DBType.
| |
DBTypeAsString | ||
IsOfUserDefinedType |
Flag to signal if this datatype is of a user-defined type.
| |
Length |
Length of the datatype in positions/bytes/elements. For unicoded fields/parameters, this length is the length in
unicoded elements, not the total length in bytes.
| |
NetTypeSetByUserDefinedType |
Gets a value indicating whether the DbTypeAsNETType is set by an UDT (which is a CLR type). Necessary for saving/loading this type
to/from a file.
| |
Precision |
The precision of the datatype. Only used by some numeric datatypes.
| |
RequiresInsertValue |
Flag to signal if this datatype requires a value specified in Insert queries. Not all RDBMS's require for each type a value, e.g. SqlServer
doesn't require a value for Timestamp types, SqlServer will insert a value automatically.
| |
Scale |
The scale of the datatype. Only used by some numeric datatypes.
| |
UDTName |
Gets the name of the UDT the db type is based on. If not applicable, an empty string is returned.
| |
UserDefinedTypeCatalog |
Defines the name of the catalog the User Defined Type is stored in if this datatype is a
user-defined type. Only valid if IsOfUserDefinedType is true.
| |
UserDefinedTypeName |
Defines the name of the User Defined Type if this datatype is a user-defined type. Only valid if
IsOfUserDefinedType is true.
| |
UserDefinedTypeOwner |
Defines the name of the owner of the User Defined Type if this datatype is a user-defined type.
Only valid if IsOfUserDefinedType is true.
|
Name | Description | |
---|---|---|
Create |
Creates a new DBTypeDefinition instance with the specific data specified.
| |
DeserializeFromReader |
Deserializes from reader. Reader is positioned at the element which contains the attributes to read. Reader won't be positioned on another element, all
data to read is in the current element
| |
Equals |
Determines if the passed in object is equal to this object, using a compare of DbType, Length, Precision and scale.
(Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode |
Returns the hashcode for this object.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
SetDBType(Int32, DBDriverBase, Int32, Int32, Int32) |
Sets various type information for this typedefinition and all values related to it which are retrievable from the driver specified.
| |
SetDBType(Int32, DBDriverBase, String, String, String, Type, Int32, Int32, Int32) |
Sets the DBtype of this typedefinition and all values related to it which are retrievable from the driver specified.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
TypeDefinitionChanged |
Raised when this type definition's important elements have changed
|