Метод | Описание | |
---|---|---|
GetAddCommentToColumnSql ( string tableName, string columnName, string comment ) : string | ||
GetAddCommentToTableSql ( string tableName, string comment ) : string | ||
GetColumnToSqlWhenCreate ( |
||
GetColumnValueToSql ( object value ) : string | ||
GetCreateTableSqls ( |
||
GetDbType ( string sqlType, int dataPrecision ) : DbType | ||
GetDropPrimaryKeySql ( object tableName, string primaryKeyName ) : string | ||
GetDropTableSqls ( string tableName ) : string[] | ||
GetDropUniqueKeySql ( string uniqueKeyName, string tableName ) : string | ||
GetForeignKeySql ( string fkName, string table, string column, string referencingTable, string referencingColumn, OnDelete onDelete ) : string | ||
GetInsertReturningColumnSql ( string table, string columns, object values, string returningColumnName, string returningParameterName ) : string | ||
GetModifyColumnSql ( string tableName, string columnName, |
||
GetRemoveCommentFromColumnSql ( string tableName, string columnName ) : string | ||
GetRemoveCommentFromTableSql ( string tableName ) : string | ||
GetRenameColumnSql ( string tableName, string columnName, string newColumnName ) : string | ||
GetRenameTableSql ( string tableName, string newTableName ) : string | ||
GetTableExistsSql ( string tableName ) : string | ||
GetUniqueKeySql ( string ukName, string table ) : string | ||
WrapSelectSqlWithPagination ( string sql, int skipRows, int numberOfRows ) : string |
Метод | Описание | |
---|---|---|
GetDbTypeString ( DbType type, int precision ) : string |
public GetAddCommentToColumnSql ( string tableName, string columnName, string comment ) : string | ||
tableName | string | |
columnName | string | |
comment | string | |
Результат | string |
public GetAddCommentToTableSql ( string tableName, string comment ) : string | ||
tableName | string | |
comment | string | |
Результат | string |
public GetColumnToSqlWhenCreate ( |
||
col | ||
Результат | string |
public GetColumnValueToSql ( object value ) : string | ||
value | object | |
Результат | string |
public GetCreateTableSqls ( |
||
table | ||
Результат | string[] |
public GetDbType ( string sqlType, int dataPrecision ) : DbType | ||
sqlType | string | |
dataPrecision | int | |
Результат | DbType |
protected GetDbTypeString ( DbType type, int precision ) : string | ||
type | DbType | |
precision | int | |
Результат | string |
public GetDropPrimaryKeySql ( object tableName, string primaryKeyName ) : string | ||
tableName | object | |
primaryKeyName | string | |
Результат | string |
public GetDropTableSqls ( string tableName ) : string[] | ||
tableName | string | |
Результат | string[] |
public GetDropUniqueKeySql ( string uniqueKeyName, string tableName ) : string | ||
uniqueKeyName | string | |
tableName | string | |
Результат | string |
public GetForeignKeySql ( string fkName, string table, string column, string referencingTable, string referencingColumn, OnDelete onDelete ) : string | ||
fkName | string | |
table | string | |
column | string | |
referencingTable | string | |
referencingColumn | string | |
onDelete | OnDelete | |
Результат | string |
public GetInsertReturningColumnSql ( string table, string columns, object values, string returningColumnName, string returningParameterName ) : string | ||
table | string | |
columns | string | |
values | object | |
returningColumnName | string | |
returningParameterName | string | |
Результат | string |
public GetModifyColumnSql ( string tableName, string columnName, |
||
tableName | string | |
columnName | string | |
columnDefinition | ||
Результат | string |
public GetRemoveCommentFromColumnSql ( string tableName, string columnName ) : string | ||
tableName | string | |
columnName | string | |
Результат | string |
public GetRemoveCommentFromTableSql ( string tableName ) : string | ||
tableName | string | |
Результат | string |
public GetRenameColumnSql ( string tableName, string columnName, string newColumnName ) : string | ||
tableName | string | |
columnName | string | |
newColumnName | string | |
Результат | string |
public GetRenameTableSql ( string tableName, string newTableName ) : string | ||
tableName | string | |
newTableName | string | |
Результат | string |
public GetTableExistsSql ( string tableName ) : string | ||
tableName | string | |
Результат | string |
public GetUniqueKeySql ( string ukName, string table ) : string | ||
ukName | string | |
table | string | |
Результат | string |
public WrapSelectSqlWithPagination ( string sql, int skipRows, int numberOfRows ) : string | ||
sql | string | |
skipRows | int | |
numberOfRows | int | |
Результат | string |