C# Class MigSharp.Core.Commands.CreateTableCommand

Inheritance: TableCommand, ITranslatableCommand
Mostrar archivo Open project: dradovic/MigSharp Class Usage Examples

Public Methods

Method Description
CreateTableCommand ( AlterSchemaCommand parent, string tableName, string primaryKeyConstraintName ) : System.Collections.Generic
CreateTableCommand ( MigSharp.Core.Commands.MigrateCommand parent, string tableName, string primaryKeyConstraintName ) : System.Collections.Generic
ToSql ( IProvider provider, IMigrationContext context ) : IEnumerable

Private Methods

Method Description
GetCreateColumnCommands ( ) : IEnumerable
GetEffectivePkConstraintName ( ) : string
GetEffectiveUniqueConstraintName ( MigSharp.Core.Commands.CreateColumnCommand c ) : string

Method Details

CreateTableCommand() public method

public CreateTableCommand ( AlterSchemaCommand parent, string tableName, string primaryKeyConstraintName ) : System.Collections.Generic
parent AlterSchemaCommand
tableName string
primaryKeyConstraintName string
return System.Collections.Generic

CreateTableCommand() public method

public CreateTableCommand ( MigSharp.Core.Commands.MigrateCommand parent, string tableName, string primaryKeyConstraintName ) : System.Collections.Generic
parent MigSharp.Core.Commands.MigrateCommand
tableName string
primaryKeyConstraintName string
return System.Collections.Generic

ToSql() public method

public ToSql ( IProvider provider, IMigrationContext context ) : IEnumerable
provider IProvider
context IMigrationContext
return IEnumerable