Migration

Classes

Class Description
AddCheckConstraintOperation Add a check constraint.
AddColumnOperation Add a column to an existing table.
AddForeignKeyOperation Add a foreign key constraint.
AddUniqueConstraintOperation Add a unique constraint.
BigIntType 64-bit signed integer: -9.2E18 to 9.2E18.
BinaryType Fixed-length binary data. Always padded to exact length.
BlobType Unlimited binary storage. No length parameter needed.
BoolDefault A boolean literal value.
BooleanType Boolean true/false value. No parameters needed.
CharType Fixed-length ASCII/single-byte character string. Always padded to exact length.
CheckConstraintDefinition Check constraint that spans multiple columns.
ColumnBuilder Builder for creating column definitions with type, nullability, defaults, and constraints.
ColumnDefinition Column definition with type and all database-agnostic constraints.
CreateIndexOperation Create an index on a table.
CreateTableOperation Create a new table.
CurrentDateDefault Current date (no time component).
CurrentTimeDefault Current time (no date component).
CurrentTimestampDefault Current timestamp (without timezone).
CurrentTimestampTzDefault Current timestamp with timezone.
DateTimeOffsetType Date and time with timezone offset. No precision parameter.
DateTimeType Date and time without timezone.
DateType Date only (no time component). No parameters needed.
DdlGenerator Static helper for DDL generation delegates.
DecimalDefault A decimal/floating point literal value.
DecimalType Exact decimal number with specified precision and scale.
DoubleType 64-bit IEEE 754 floating point. ~15 significant digits.
DropColumnOperation Drop a column. DESTRUCTIVE - requires explicit opt-in.
DropForeignKeyOperation Drop a foreign key constraint.
DropIndexOperation Drop an index.
DropTableOperation Drop a table. DESTRUCTIVE - requires explicit opt-in.
EnumType Database enumeration type with named values.
FloatType 32-bit IEEE 754 floating point. ~7 significant digits.
ForeignKeyActionYamlConverter YAML type converter for ForeignKeyAction enum.
ForeignKeyDefinition Foreign key constraint definition.
GeographyType Spatial geography type for Earth-surface GIS data.
GeometryType Spatial geometry type for GIS data.
IndexDefinition Index definition (unique or non-unique).
IntDefault An integer literal value.
IntType 32-bit signed integer: -2,147,483,648 to 2,147,483,647.
JsonType JSON document storage. No parameters needed.
LiteralDefault A literal SQL expression to use as-is (no translation).
LqlDefaultTranslator Translates LQL default expressions to platform-specific SQL.
MigrationError Migration error with message and optional inner exception.
MigrationOptions Options for migration execution.
MigrationRunner Migration runner for executing schema operations.
MoneyType Currency type with fixed precision for financial calculations.
NCharType Fixed-length Unicode character string. Always padded to exact length.
NVarCharType Variable-length Unicode character string up to max length.
NewUuidDefault Generate a new random UUID.
NextSequenceDefault Next value from a named sequence.
NullDefault Null as default (for nullable columns).
PortableDefault Platform-independent default value expression.
PortableDefaults Factory methods for portable defaults.
PortableType Database-agnostic type definition. Base sealed type for discriminated union.
PortableTypeJsonConverter JSON converter for PortableType discriminated union.
PortableTypeYamlConverter YAML type converter for PortableType discriminated union.
PortableTypes Factory methods for portable types.
PrimaryKeyDefinition Primary key constraint definition.
RowVersionType Row version / timestamp for optimistic concurrency.
Schema Backward-compatible alias for SchemaFactory.
SchemaBuilder Builder for creating schema definitions with tables, columns, indexes, and constraints.
SchemaDefinition Complete database schema definition.
SchemaDiff Calculates the difference between two schema definitions.
SchemaFactory Fluent builder for schema definitions.
SchemaOperation Base type for schema migration operations.
SchemaSerializer Serializes and deserializes schema definitions to/from JSON and YAML.
SchemaYamlSerializer Serializes and deserializes schema definitions to/from YAML.
SmallIntType 16-bit signed integer: -32,768 to 32,767.
SmallMoneyType Small currency type with reduced precision.
StringDefault A string literal value, properly quoted.
TableBuilder Builder for creating table definitions with columns, indexes, foreign keys, and constraints.
TableDefinition Single table definition with columns, indexes, and all constraints.
TextType Unlimited length text storage. No length parameter needed.
TimeType Time only (no date component) with fractional seconds precision.
TinyIntType 8-bit integer: 0 to 255 (unsigned) or -128 to 127 (signed).
UniqueConstraintDefinition Unique constraint (alternative to unique index for semantic clarity).
UuidType 128-bit globally unique identifier. No parameters needed.
VarBinaryType Variable-length binary data up to max length.
VarCharType Variable-length ASCII/single-byte character string up to max length.
XmlType XML document storage. No parameters needed.

Enums

Enum Description
ForeignKeyAction Foreign key referential action.