Appearance
Column Class
Definition
Basic definition of a database Column
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Constructors
| Name | Description |
|---|---|
Column() | Create an instance of Column |
Column(string name, string alias = null, string comment = null, object userData = null) | Create an instance of Column with properties |
Properties
| Name | Description |
|---|---|
Alias | Optional Alias for SELECT statements |
Comment | SQL Comment |
Name | Name of the database column |
UserData | Gets or sets caller-owned metadata associated with this column. |
Methods
| Name | Description |
|---|---|
Column Copy() | Returns a COPY of the Column object |
Column Create(string input) | Create a Column based on a string representation |
List<Column> CreateList(IEnumerable<string> columns) | Returns a list of columns based on a string list |
List<Column> CreateList(IEnumerable<string> columns, IEnumerable<IJoin> joins) | Returns a list of root-table columns from a string list. |
string GetSelectName() | Returns the Alias or Name that should be used to resolve the column in a SELECT |
bool Search(IEnumerable<IColumn> list, string search, bool caseInsensitive) | Search an Enumerable list of Columns for a patten match on the column name |