Class SqlServer2012Generator
Inheritance
SqlServer2012Generator
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Generators.SqlServer
Assembly: FluentMigrator.Runner.SqlServer.dll
Syntax
public class SqlServer2012Generator : SqlServer2008Generator, IMigrationGenerator
Constructors
| Edit this page View SourceSqlServer2012Generator()
Declaration
public SqlServer2012Generator()
SqlServer2012Generator(IColumn, IQuoter, IDescriptionGenerator, IOptions<GeneratorOptions>)
Declaration
protected SqlServer2012Generator(IColumn column, IQuoter quoter, IDescriptionGenerator descriptionGenerator, IOptions<GeneratorOptions> generatorOptions)
Parameters
Type | Name | Description |
---|---|---|
IColumn | column | |
IQuoter | quoter | |
IDescriptionGenerator | descriptionGenerator | |
IOptions<GeneratorOptions> | generatorOptions |
SqlServer2012Generator(SqlServer2008Quoter)
Declaration
public SqlServer2012Generator(SqlServer2008Quoter quoter)
Parameters
Type | Name | Description |
---|---|---|
SqlServer2008Quoter | quoter |
SqlServer2012Generator(SqlServer2008Quoter, IOptions<GeneratorOptions>)
Declaration
public SqlServer2012Generator(SqlServer2008Quoter quoter, IOptions<GeneratorOptions> generatorOptions)
Parameters
Type | Name | Description |
---|---|---|
SqlServer2008Quoter | quoter | |
IOptions<GeneratorOptions> | generatorOptions |
Methods
| Edit this page View SourceGenerate(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
| Edit this page View SourceGenerate(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 |