C# Class Net.Sf.Dbdeploy.Database.DbmsSyntax

Inheritance: IDbmsSyntax
Datei anzeigen Open project: brunomlopes/dbdeploy.net Class Usage Examples

Public Properties

Property Type Description
SchemaRegex Regex

Public Methods

Method Description
CreateChangeLogTableSqlScript ( string tableName ) : string

Gets the Change Log Table create script.

GetTableInfo ( string tableName ) : Net.Sf.Dbdeploy.Database.TableInfo

Gets the table name and schema.

GetTemplateFileNameFor ( string templateQualifier ) : string
TableExists ( string tableName ) : string

Gets the syntax for checking if a table exists.

Protected Methods

Method Description
DbmsSyntax ( string dbms ) : System.Globalization

Initializes a new instance of the DbmsSyntax class.

Method Details

CreateChangeLogTableSqlScript() public method

Gets the Change Log Table create script.
public CreateChangeLogTableSqlScript ( string tableName ) : string
tableName string Name of the change log table.
return string

DbmsSyntax() protected method

Initializes a new instance of the DbmsSyntax class.
protected DbmsSyntax ( string dbms ) : System.Globalization
dbms string The DBMS.
return System.Globalization

GetTableInfo() public method

Gets the table name and schema.
public GetTableInfo ( string tableName ) : Net.Sf.Dbdeploy.Database.TableInfo
tableName string Name of the table.
return Net.Sf.Dbdeploy.Database.TableInfo

GetTemplateFileNameFor() public method

public GetTemplateFileNameFor ( string templateQualifier ) : string
templateQualifier string
return string

TableExists() public method

Gets the syntax for checking if a table exists.
public TableExists ( string tableName ) : string
tableName string Name of the table.
return string

Property Details

SchemaRegex public_oe static_oe property

The Regex for removing the schema name from a table.
public static Regex SchemaRegex
return Regex