C# Class LX.EasyDb.Mapping.Index

A relational table index.
Inheritance: RelationalModel, IRelationalModel
Datei anzeigen Open project: longshine/EasyDb.NET

Public Methods

Method Description
ToString ( ) : String

Protected Methods

Method Description
DoToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String

Generates SQL for creating this model.

DoToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String

Generates SQL for creating this model.

Private Methods

Method Description
BuildSqlCreateIndexString ( Dialect dialect, String name, Table table, IEnumerable columns, System.Boolean unique, String defaultCatalog, String defaultSchema ) : String
BuildSqlDropIndexString ( Dialect dialect, Table table, String name, String defaultCatalog, String defaultSchema ) : String

Method Details

DoToSqlCreate() protected method

Generates SQL for creating this model.
protected DoToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String
dialect Dialect
defaultCatalog String the default catalog name
defaultSchema String the default schema name
return String

DoToSqlDrop() protected method

Generates SQL for creating this model.
protected DoToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String
dialect Dialect
defaultCatalog String the default catalog name
defaultSchema String the default schema name
return String

ToString() public method

public ToString ( ) : String
return String