How does the fluent API work?
The starting points for the fluent API are the following classes:
- MigrationBase: database modelling
- Migration: data modification and script execution
Supported expressions
Create
Create a database object.
Alter
Alter a database object.
Delete
Delete a database object or data.
Rename (IRenameExpressionRoot)
Rename a database object.
Schema (ISchemaExpressionRoot)
Schema-oriented starting point for expressions.
IfDatabase (IIfDatabaseExpressionRoot)
Create database-specific expressions.
Insert (IInsertExpressionRoot)
Insert data.
Update (IUpdateExpressionRoot)
Update data.
Execute (IExecuteExpressionRoot)
Execute SQL statements/scripts.
Planned changes
- Differentiate between
Delete
andDrop