C# Class MigSharp.Core.Commands.AddIndexCommand

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

Public Methods

Method Description
AddColumn ( string columnName ) : void
AddIndexCommand ( AlterTableCommand parent, string indexName ) : System.Collections.Generic
ToSql ( IProvider provider, IMigrationContext context ) : IEnumerable

Private Methods

Method Description
GetEffectiveIndexName ( ) : string

Method Details

AddColumn() public method

public AddColumn ( string columnName ) : void
columnName string
return void

AddIndexCommand() public method

public AddIndexCommand ( AlterTableCommand parent, string indexName ) : System.Collections.Generic
parent AlterTableCommand
indexName string
return System.Collections.Generic

ToSql() public method

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