DotnetTypeDescriptor
Namespace: MJCZone.DapperMatic
Assembly: MJCZone.DapperMatic
Summary
Describes a .NET type with its SQL type properties.
public
Contents
Constructors (1) | Methods (4) | Properties (7)
Constructors
DotnetTypeDescriptor
Initializes a new instance of the DotnetTypeDescriptor class.
csharp
DotnetTypeDescriptor(
Type dotnetType,
Int32} length,
Int32} precision,
Int32} scale,
Boolean} isAutoIncrementing,
Boolean} isUnicode,
Boolean} isFixedLength)Parameters
- dotnetType (Type) - The .NET type.
- length (Int32}) - The length of the type.
- precision (Int32}) - The precision of the type.
- scale (Int32}) - The scale of the type.
- isAutoIncrementing (Boolean}) - Indicates if the type is auto-incrementing.
- isUnicode (Boolean}) - Indicates if the type is Unicode.
- isFixedLength (Boolean}) - Indicates if the type has a fixed length.
Methods
ToString
Describes the object as a string.
csharp
string ToString()Returns
Type: string
The string representation of the object.
GetType
csharp
GetType()Equals
csharp
Equals()GetHashCode
csharp
GetHashCode()Properties
DotnetType
Gets or sets the .NET type.
Type: Type
Length
Gets or sets the length of the type.
Type: int?
Precision
Gets or sets the precision of the type.
Type: int?
Scale
Gets or sets the scale of the type.
Type: int?
IsAutoIncrementing
Gets or sets a value indicating whether the type is auto-incrementing.
Type: bool?
IsUnicode
Gets or sets a value indicating whether the type is Unicode.
Type: bool?
IsFixedLength
Gets or sets a value indicating whether the type has a fixed length.
Type: bool?