WildMetadata Interface

The interface of Metadata<T> that provides non-generic properties.

C#
public interface WildMetadata
Derived

Properties

CreateTableStatements

Gets the SQL statements to create the table and indexes.

DropTableStatements

Gets the SQL statements to drop the table and indexes.

InsertStatement

Gets the insert statement.

UpdateStatement

Gets the update statement.

TableName

Gets the name of the table.

DeleteStatement

Gets the delete statement.

SelectAllStatement

Gets a complete SELECT statement like SELECT ... FROM ... for all rows.

Methods

NewSelectStatement(string)

Gets a new string representing the SELECT statement to find the row where the specified column is equal to the specific value.

NewSelectAllStatement(string)

Gets a new string representing the incomplete select statement.

ToColumnName(string)

Gets the column name associated with the specified parameter name.

Properties Detail

CreateTableStatements

Gets the SQL statements to create the table and indexes.

C#
IEnumerable<string> CreateTableStatements { get; }

Property Value

DropTableStatements

Gets the SQL statements to drop the table and indexes.

C#
IEnumerable<string> DropTableStatements { get; }

Property Value

InsertStatement

Gets the insert statement.

C#
string InsertStatement { get; }

Property Value

UpdateStatement

Gets the update statement.

C#
string UpdateStatement { get; }

Property Value

TableName

Gets the name of the table.

C#
string TableName { get; }

Property Value

DeleteStatement

Gets the delete statement.

C#
string DeleteStatement { get; }

Property Value

SelectAllStatement

Gets a complete SELECT statement like SELECT ... FROM ... for all rows.

C#
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.

C#
string NewSelectStatement(string columnName)

Parameters

columnName
string

The column name. This must contain the Field<T> object that has the same name.

Returns

The new string: SELECT ... FROM ... WHERE columnName = $columnName.

NewSelectAllStatement(string)

Gets a new string representing the incomplete select statement.

C#
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.

C#
string ToColumnName(string parameterName)

Parameters

parameterName
string

The parameter name that the primary constructor of T contains.

Returns

The column name.