Method | Description | |
---|---|---|
AddCheckConstraint ( String constraint ) : void |
Adds a check constraint.
|
|
AddColumn ( Column column ) : void |
Adds a column.
|
|
FindColumnByColumnName ( String columnName ) : Column |
Finds a column by its name.
|
|
FindColumnByFieldName ( String fieldName ) : Column |
Finds a column by its name.
|
|
GetFieldName ( String columnName ) : String |
Gets the field name mapped with the given column.
|
|
GetOrCreateUniqueKey ( String keyName ) : UniqueKey |
Gets a unique key by its name, or creates it if not found.
|
|
GetQualifiedName ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String |
Gets qualified name of thia table.
|
|
GetQuotedName ( Dialect dialect ) : String |
Gets quoted name.
|
|
GetQuotedSchema ( Dialect dialect ) : String |
Gets quoted schema.
|
|
Qualify ( String catalog, String schema, String table ) : String |
Qualifies a table's name.
|
|
Table ( ) : System |
Initializes an empty mapping table.
|
|
Table ( |
Initializes a mapping table.
|
|
ToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String |
Generates SQL for creating this table.
|
|
ToSqlDelete ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String |
Generates SQL for deleting records in this table.
|
|
ToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String |
Generates SQL for droping this table.
|
|
ToSqlInsert ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String |
Generates SQL for inserting records into this table.
|
|
ToSqlSelect ( Dialect dialect, String defaultCatalog, String defaultSchema, System.Boolean useKeys ) : String |
Generates SQL for selecting records in this table.
|
|
ToSqlUpdate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String |
Generates SQL for updating records in this table.
|
Method | Description | |
---|---|---|
CreateColumn ( |
||
LookupDbType ( |
||
Phantom ( |
||
SqlMapper ( ) : |
||
SqlMapper ( String names, |
Finds best constructor.
|
|
SqlMapper ( |
Gets mapping for constructor parameter.
|
|
SqlMapper ( String columnName ) : SqlMapper.IMemberMap |
Gets member mapping for column.
|
public AddCheckConstraint ( String constraint ) : void | ||
constraint | String | |
return | void |
public AddColumn ( Column column ) : void | ||
column | Column | the column to add |
return | void |
public FindColumnByColumnName ( String columnName ) : Column | ||
columnName | String | the name of the column to find |
return | Column |
public FindColumnByFieldName ( String fieldName ) : Column | ||
fieldName | String | the name of the field to find |
return | Column |
public GetFieldName ( String columnName ) : String | ||
columnName | String | the column name |
return | String |
public GetOrCreateUniqueKey ( String keyName ) : UniqueKey | ||
keyName | String | |
return | UniqueKey |
public GetQualifiedName ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String | ||
dialect | Dialect | |
defaultCatalog | String | the default catalog name |
defaultSchema | String | the default schema name |
return | String |
public GetQuotedName ( Dialect dialect ) : String | ||
dialect | Dialect | |
return | String |
public GetQuotedSchema ( Dialect dialect ) : String | ||
dialect | Dialect | |
return | String |
public static Qualify ( String catalog, String schema, String table ) : String | ||
catalog | String | the catalog name |
schema | String | the schema name |
table | String | the table name |
return | String |
public Table ( |
||
type | the type to map | |
namingStrategy | INamingStrategy | the naming strategy to apply |
return | System |
public ToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String | ||
dialect | Dialect | |
defaultCatalog | String | the default catalog name |
defaultSchema | String | the default schema name |
return | String |
public ToSqlDelete ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String | ||
dialect | Dialect | |
defaultCatalog | String | the default catalog name |
defaultSchema | String | the default schema name |
return | String |
public ToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String | ||
dialect | Dialect | |
defaultCatalog | String | the default catalog name |
defaultSchema | String | the default schema name |
return | String |
public ToSqlInsert ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String | ||
dialect | Dialect | |
defaultCatalog | String | the default catalog name |
defaultSchema | String | the default schema name |
return | String |
public ToSqlSelect ( Dialect dialect, String defaultCatalog, String defaultSchema, System.Boolean useKeys ) : String | ||
dialect | Dialect | |
defaultCatalog | String | the default catalog name |
defaultSchema | String | the default schema name |
useKeys | System.Boolean | a boolean value indicating whether using primary keys as where conditions |
return | String |
public ToSqlUpdate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String | ||
dialect | Dialect | |
defaultCatalog | String | the default catalog name |
defaultSchema | String | the default schema name |
return | String |