Click or drag to resize

XMLDataItemClass Class

XML file handling for setting
Inheritance Hierarchy

Namespace:  SIC.File
Assembly:  SIC (in SIC.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public class XML<DataItemClass> : IXML<DataItemClass>
where DataItemClass : new(), ISettingXML

Type Parameters

DataItemClass

[Missing <typeparam name="DataItemClass"/> documentation for "T:SIC.File.XML`1"]

The XMLDataItemClass type exposes the following members.

Constructors
Properties
  NameDescription
Private propertyDataSet
Private propertyDataTable
Public propertyDataTableName
XML data table name
Public propertyFileName
XM file name
Top
Methods
  NameDescription
Public methodCount
Gives number of all exist data item in DataTable object (XML)
Public methodCount(String)
Gives number of exist data item by Name
Private methodCreateItem
Public methodDelete
Delete a data item by field Name
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Private methodExistColumn
Checked exists column by name in the table
Public methodExistOne
Check exist one data item by Name
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAll
Get all data items
Public methodGetByName
Gives a data item by Name
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodStatic memberGetPropertyValue
Gives a property value from any properties
Protected methodGetTableFields
Gives a list of type PropertyInfo from the table fields
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert
Insert data item into datatable and store in xml file
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRead
Load xml file when exist and put data table structure setting xml
Public methodSaveAs
Data items save to file
Private methodSetDataTable
Requirement: object DataTable not be null.
Protected methodStatic memberSetPropertyValue
Set property value from object
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Sets value into datatable and store in xml file
Protected methodWrite
Data items save to file
Top
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
Examples
See Also