Class DataObject
Inheritance
System.Object
DataObject
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: fcSDK.dll
Syntax
public abstract class DataObject : IDataObject
Constructors
DataObject(DataRow)
Declaration
protected DataObject(DataRow row)
Parameters
Type |
Name |
Description |
System.Data.DataRow |
row |
|
DataObject(DataRow, String)
Declaration
protected DataObject(DataRow row, string idColumName)
Parameters
Type |
Name |
Description |
System.Data.DataRow |
row |
|
System.String |
idColumName |
|
DataObject(Object, String)
Declaration
protected DataObject(object newId, string idName)
Parameters
Type |
Name |
Description |
System.Object |
newId |
|
System.String |
idName |
|
DataObject(Object[])
Declaration
protected DataObject(object[] fieldData)
Parameters
Type |
Name |
Description |
System.Object[] |
fieldData |
|
DataObject(Object[], String)
Declaration
protected DataObject(object[] fieldData, string idColName)
Parameters
Type |
Name |
Description |
System.Object[] |
fieldData |
|
System.String |
idColName |
|
DataObject(XmlElement, String)
Declaration
protected DataObject(XmlElement elm, string idAttributeName)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
elm |
|
System.String |
idAttributeName |
|
Properties
ColumnMap
Declaration
public IDictionary ColumnMap { get; }
Property Value
Type |
Description |
System.Collections.IDictionary |
|
FieldValues
Declaration
public object[] FieldValues { get; }
Property Value
Type |
Description |
System.Object[] |
|
UniqueID
Declaration
public object UniqueID { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
ContainsColumn(String)
Declaration
public bool ContainsColumn(string columnName)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
Returns
Type |
Description |
System.Boolean |
|
GetFieldValue(Int32)
Declaration
public object GetFieldValue(int ordinal)
Parameters
Type |
Name |
Description |
System.Int32 |
ordinal |
|
Returns
Type |
Description |
System.Object |
|
GetFieldValue(String)
Declaration
public object GetFieldValue(string colName)
Parameters
Type |
Name |
Description |
System.String |
colName |
|
Returns
Type |
Description |
System.Object |
|
GetSafeBooleanFieldValue(String)
Declaration
public bool GetSafeBooleanFieldValue(string columnName)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
Returns
Type |
Description |
System.Boolean |
|
GetSafeBooleanFieldValue(String, Dictionary<String, ColumnInfo>, Object[])
Declaration
public static bool GetSafeBooleanFieldValue(string columnName, Dictionary<string, ColumnInfo> columnMap, object[] values)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Collections.Generic.Dictionary<System.String, ColumnInfo> |
columnMap |
|
System.Object[] |
values |
|
Returns
Type |
Description |
System.Boolean |
|
GetSafeDoubleFieldValue(String)
Declaration
public double GetSafeDoubleFieldValue(string columnName)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
Returns
Type |
Description |
System.Double |
|
GetSafeDoubleFieldValue(String, Dictionary<String, ColumnInfo>, Object[])
Declaration
public static double GetSafeDoubleFieldValue(string columnName, Dictionary<string, ColumnInfo> columnMap, object[] values)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Collections.Generic.Dictionary<System.String, ColumnInfo> |
columnMap |
|
System.Object[] |
values |
|
Returns
Type |
Description |
System.Double |
|
GetSafeInt32FieldValue(String)
Declaration
public int GetSafeInt32FieldValue(string colName)
Parameters
Type |
Name |
Description |
System.String |
colName |
|
Returns
Type |
Description |
System.Int32 |
|
GetSafeInt32FieldValue(String, Dictionary<String, ColumnInfo>, Object[])
Declaration
public static int GetSafeInt32FieldValue(string columnName, Dictionary<string, ColumnInfo> columnMap, object[] values)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Collections.Generic.Dictionary<System.String, ColumnInfo> |
columnMap |
|
System.Object[] |
values |
|
Returns
Type |
Description |
System.Int32 |
|
GetSafeString(Object)
Declaration
protected static string GetSafeString(object dataValue)
Parameters
Type |
Name |
Description |
System.Object |
dataValue |
|
Returns
Type |
Description |
System.String |
|
GetSafeStringFieldValue(String)
Declaration
public string GetSafeStringFieldValue(string colName)
Parameters
Type |
Name |
Description |
System.String |
colName |
|
Returns
Type |
Description |
System.String |
|
SetFieldValue(String, Object)
Declaration
protected void SetFieldValue(string columnName, object value)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Object |
value |
|
SetUniqueID(Object)
Declaration
protected void SetUniqueID(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Implements