Class ContainerCustomData
Custom data container for data container.
public class ContainerCustomData : CustomData, IDataContainer, ISimpleDataContainer
- Inheritance
-
objectContainerCustomData
- Implements
- Inherited Members
- Extension Methods
Constructors
ContainerCustomData()
Constructor - creates empty ContainerCustomData object. Object created by this constructor works only as in-memory storage and does not reflects changes to DataClass and DB.
public ContainerCustomData()
ContainerCustomData(IDataContainer, string)
Constructor - creates empty ContainerCustomData object.
public ContainerCustomData(IDataContainer container, string columnName)
Parameters
containerIDataContainerRelated data container
columnNamestringRelated column name
Properties
this[string]
Gets or sets the value of the column.
public override object this[string key] { get; set; }
Parameters
keystringColumn name
Property Value
- object
Methods
LoadData(string)
Loads the XML to the content table.
public override void LoadData(string data)
Parameters
datastringContent XML to load
Remove(string)
Removes element with specified key from collection
public override void Remove(string key)
Parameters
keystringKey to remove
SetValue(string, object)
Sets value of column.
public override bool SetValue(string columnName, object value)
Parameters
columnNamestringColumn name
valueobjectColumn value
Returns
- bool