Skip to content

TypeMapDefinition Class ​

Definition ​

Represents a mapping between a CLR type, SQL type, and JASE.Database classification (DataValueType). Used for runtime inference in schema inspection and generation.

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Constructors ​

NameDescription
TypeMapDefinition()Initialize an instance of a TypeMapDefinition

Properties ​

NameDescription
ClrNullableGets whether the associated CLR type is nullable (i.e., Nullable<> or reference type).
ClrTypeGets the CLR type for this mapping (e.g., typeof(int), typeof(string), typeof(Guid)).
DataValueTypeGets the JASE.Database data classification (e.g., Numeric, Character, UID).
DbAliasTypesGets a string array of alternative SQL type aliases (e.g., "NVARCHAR,TEXT").
SqlTypeGets the corresponding SQL type name (e.g., "VARCHAR", "INT", "DECIMAL").