Database Class |
Namespace: SIC.Configuration
The Database type exposes the following members.
| Name | Description | |
|---|---|---|
| Database |
Initializes a new instance of the Database class.
Constructor with parameter
|
| Name | Description | |
|---|---|---|
| DataSet | (Inherited from XMLDataItemClass.) | |
| DataTable | (Inherited from XMLDataItemClass.) | |
| DataTableName |
XML data table name
(Inherited from XMLDataItemClass.) | |
| FileName |
XM file name
(Inherited from XMLDataItemClass.) |
| Name | Description | |
|---|---|---|
| Count |
Gives number of all exist data item in DataTable object (XML)
(Inherited from XMLDataItemClass.) | |
| Count(String) |
Gives number of exist data item by Name
(Inherited from XMLDataItemClass.) | |
| CreateItem | (Inherited from XMLDataItemClass.) | |
| Delete |
Delete a data item by field Name
(Inherited from XMLDataItemClass.) | |
| Equals | (Inherited from Object.) | |
| ExistColumn |
Checked exists column by name in the table
(Inherited from XMLDataItemClass.) | |
| ExistOne |
Check exist one data item by Name
(Inherited from XMLDataItemClass.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAll |
Get all data items
(Inherited from XMLDataItemClass.) | |
| GetByName |
Gives a data item by Name
(Inherited from XMLDataItemClass.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetTableFields |
Gives a list of type PropertyInfo from the table fields
(Inherited from XMLDataItemClass.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Insert |
Insert data item into datatable and store in xml file
(Inherited from XMLDataItemClass.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Read |
Load xml file when exist and put data table structure setting xml
(Inherited from XMLDataItemClass.) | |
| SaveAs |
Data items save to file
(Inherited from XMLDataItemClass.) | |
| SetDataTable |
Requirement: object DataTable not be null.
(Inherited from XMLDataItemClass.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Sets value into datatable and store in xml file
(Inherited from XMLDataItemClass.) | |
| Write |
Data items save to file
(Inherited from XMLDataItemClass.) |