Class JetGenerator
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Generators.Jet
Assembly: FluentMigrator.Runner.Jet.dll
Syntax
public class JetGenerator : GenericGenerator, IMigrationGenerator
Constructors
JetGenerator()
Declaration
public JetGenerator()
JetGenerator(JetQuoter)
Declaration
public JetGenerator(JetQuoter quoter)
Parameters
| Type | Name | Description |
|---|---|---|
| JetQuoter | quoter |
JetGenerator(JetQuoter, IOptions<GeneratorOptions>)
Declaration
public JetGenerator(JetQuoter quoter, IOptions<GeneratorOptions> generatorOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| JetQuoter | quoter | |
| IOptions<GeneratorOptions> | generatorOptions |
Properties
DropIndex
Declaration
public override string DropIndex { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
Generate(AlterDefaultConstraintExpression)
Generates an SQL statement to alter a DEFAULT constraint
Declaration
public override string Generate(AlterDefaultConstraintExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| AlterDefaultConstraintExpression | expression | The expression to create the SQL for |
Returns
| Type | Description |
|---|---|
| string | The generated SQL |
Overrides
Generate(CreateSequenceExpression)
Generates a CREATE SEQUENCE SQL statement
Declaration
public override string Generate(CreateSequenceExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSequenceExpression | expression | The expression to create the SQL for |
Returns
| Type | Description |
|---|---|
| string | The generated SQL |
Overrides
Generate(DeleteDefaultConstraintExpression)
Generates an SQL statement to drop a default constraint
Declaration
public override string Generate(DeleteDefaultConstraintExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteDefaultConstraintExpression | expression | The expression to create the SQL for |
Returns
| Type | Description |
|---|---|
| string | The generated SQL |
Overrides
Generate(DeleteSequenceExpression)
Generates a DROP SEQUENCE SQL statement
Declaration
public override string Generate(DeleteSequenceExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteSequenceExpression | expression | The expression to create the SQL for |
Returns
| Type | Description |
|---|---|
| string | The generated SQL |
Overrides
Generate(DeleteTableExpression)
Generates a DROP TABLE SQL statement
Declaration
public override string Generate(DeleteTableExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteTableExpression | expression | The expression to create the SQL for |
Returns
| Type | Description |
|---|---|
| string | The generated SQL |
Overrides
Generate(RenameColumnExpression)
Generates an SQL statement to rename a column
Declaration
public override string Generate(RenameColumnExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| RenameColumnExpression | expression | The expression to create the SQL for |
Returns
| Type | Description |
|---|---|
| string | The generated SQL |
Overrides
Generate(RenameTableExpression)
Generates an SQL statement to rename a table
Declaration
public override string Generate(RenameTableExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| RenameTableExpression | expression | The expression to create the SQL for |
Returns
| Type | Description |
|---|---|
| string | The generated SQL |