Represents list of the Korzh.EasyQuery.Db.Table objects.
public class Korzh.EasyQuery.Db.TableList
: Collection<Table>
Package: Korzh.EasyQuery.Db
(targets: netstandard2.0
)
Assembly: Korzh.EasyQuery.Db.dll
Constructors
Name | Type | Description |
---|---|---|
TableList() | void |
Methods
Name | Type | Description |
---|---|---|
Add(Table table) | void |
Adds the table |
AddIfNotExists(Table table) | void |
Adds the table if there is no another table with the same alias in this list yet. |
AddRange(IEnumerable <Table> tables, bool skipExisting = False) |
void |
Adds the range of tables |
ClearItems() | void |
|
CopyFrom(TableList tables) | void |
Copies tables from another list. |
FindByAlias(string alias) |
Table | Finds the Korzh.EasyQuery.Db.Table object by its alias. |
FindByName(string name) |
Table | Finds the Korzh.EasyQuery.Db.Table object by its name. |
GetCommaText() | string |
Gets the string whcih contains comma separated list of tables |
GetUniqueAlias(string baseName) |
string |
Generates an unique Korzh.EasyQuery.Db.Table object alias by some base name |
InsertItem(int index, Table item) |
void |
|
RemoveItem(int index) |
void |
|
SortAlphabetically() | void |
Sorts the list alphabetically. |