Provides methods for working with DB meta propeties based on DB comments.
Assembly: Terrasoft.Core.dll
public interface IDbCommentEngine
Methods
Declaration
void AddEntitySchemaFilterForReadMetaPropertiesSqlText(StringBuilder sb)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
BuildReadMetaDescriptionByIdSqlText(StringBuilder, ColumnAction)
Declaration
void BuildReadMetaDescriptionByIdSqlText(StringBuilder sb, ColumnAction action)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
ColumnAction |
action |
|
Declaration
void BuildReadMetaDescriptionByIdSqlText(StringBuilder sb, ConstraintAction action)
Parameters
Declaration
void BuildReadMetaDescriptionByIdSqlText(StringBuilder sb, EntitySchemaAction action)
Parameters
Declaration
void BuildReadMetaDescriptionByIdSqlText(StringBuilder sb, IndexAction action)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
IndexAction |
action |
|
BuildReadMetaDescriptionByNameSqlText(StringBuilder, ColumnAction)
Declaration
void BuildReadMetaDescriptionByNameSqlText(StringBuilder sb, ColumnAction action)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
ColumnAction |
action |
|
Declaration
void BuildReadMetaDescriptionByNameSqlText(StringBuilder sb, ConstraintAction action)
Parameters
Declaration
void BuildReadMetaDescriptionByNameSqlText(StringBuilder sb, EntitySchemaAction action)
Parameters
Declaration
void BuildReadMetaDescriptionByNameSqlText(StringBuilder sb, IndexAction action)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
IndexAction |
action |
|
GetReadColumnCommentsByNamesSqlText(IEnumerable<String>)
Declaration
string GetReadColumnCommentsByNamesSqlText(IEnumerable<string> tableNames)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
tableNames |
|
Returns
Type |
Description |
System.String |
|
Declaration
string GetReadTableCommentsByNamesSqlText(IEnumerable<string> tableNames)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
tableNames |
|
Returns
Type |
Description |
System.String |
|
GetSaveColumnMetaPropertiesSqlText(String, String, String)
Declaration
string GetSaveColumnMetaPropertiesSqlText(string entitySchemaName, string columnName, string description)
Parameters
Type |
Name |
Description |
System.String |
entitySchemaName |
|
System.String |
columnName |
|
System.String |
description |
|
Returns
Type |
Description |
System.String |
|
Declaration
string GetSaveTableMetaPropertiesSqlText(string entitySchemaName, string description)
Parameters
Type |
Name |
Description |
System.String |
entitySchemaName |
|
System.String |
description |
|
Returns
Type |
Description |
System.String |
|
Extension Methods