WildMetadata Interface
The interface of Metadata<T> that provides non-generic properties.
public interface WildMetadata
- Derived
Properties
Create |
Gets the SQL statements to create the table and indexes. |
Drop |
Gets the SQL statements to drop the table and indexes. |
Insert |
Gets the insert statement. |
Update |
Gets the update statement. |
Table |
Gets the name of the table. |
Delete |
Gets the delete statement. |
Select |
Gets a complete |
Methods
New |
Gets a new string representing the |
New |
Gets a new string representing the incomplete |
To |
Gets the column name associated with the specified parameter name. |
Properties Detail
CreateTableStatements
Gets the SQL statements to create the table and indexes.
IEnumerable<string> CreateTableStatements { get; }
Property Value
DropTableStatements
Gets the SQL statements to drop the table and indexes.
IEnumerable<string> DropTableStatements { get; }
Property Value
InsertStatement
Gets the insert statement.
string InsertStatement { get; }
Property Value
UpdateStatement
Gets the update statement.
string UpdateStatement { get; }
Property Value
TableName
Gets the name of the table.
string TableName { get; }
Property Value
DeleteStatement
Gets the delete statement.
string DeleteStatement { get; }
Property Value
SelectAllStatement
Gets a complete SELECT
statement like SELECT
...
FROM
... for all rows.
string SelectAllStatement { get; }
Property Value
Methods Detail
NewSelectStatement(string)
Gets a new string representing the SELECT
statement to find the
row where the specified column is equal to the specific value.
string NewSelectStatement(string columnName)
Parameters
Returns
The new string: SELECT
... FROM
... WHERE columnName =
$columnName
.
NewSelectAllStatement(string)
Gets a new string representing the incomplete select
statement.
string NewSelectAllStatement(string alias)
Parameters
- alias
- string
The alias name for the table with which this
is associated.
represents.
Returns
The new string: SELECT
... FROM
... alias
.
ToColumnName(string)
Gets the column name associated with the specified parameter name.
string ToColumnName(string parameterName)
Parameters
- parameterName
- string
The parameter name that the primary constructor of T
contains.
Returns
The column name.