Operation |
Details |
public ColumnsInfo(): |
|
public ColumnsInfo( ColumnsInfo colInfo): |
Notes: | Copy constructor. Copy all items except reference to Table object. | |
public this( int id):ColumnInfo |
<<indexer>> Notes: | Get column info according id | |
public GetItemByName( string columnName):ColumnInfo |
Notes: | Look up ColumnInfo according column name in this container
@returns Found object or null | |
public CheckTypes():bool |
Notes: | Check if all columns have not empty column type
@returns true if all columns have not emty database type | |
public XmlDescription():string |
<<property>> Notes: | Configuration of all columns as XML | |
public ColsInfoCompareWith( string xml, TypeCompare type):bool |
Notes: | Compare all columns to columns in XML
@returns true if columns are equal | |
public GetSqlCreateTable( string tableName):string |
Notes: | SQL statement for create table.
@returns SQL statement or empty string if failed | |
public GetSqlInsertIntoTable( string tableName):string |
Notes: | SQL statement for insert data into table.
@returns SQL statement or empty string if failed | |
public SelectedColumns():ArrayList |
<<property>> Notes: | Array of integer. Each item is index of selected column. | |
public Table():Table |
<<property>> Notes: | Referrence to Table object | |
public Add( ColumnInfo obj):int |
Notes: | Add column into container
@returns | |
public SetTmpVals( object[] objs):void |
Notes: | Set values into columns. One value into one column. Each value is convert to string. | |
public OneColumnFailed():bool |
<<property>> Notes: | If exists one column with IsOK property, return true. | |