Class ListDataSet
Namespace: FastReport.Olap.Cube
Assembly: FastCube.WinForms.dll
DataSet which loads data using DataBinding to objects like System.Data.DataSet or an System.Array DataTable
[ComplexBindingProperties("DataSource", "DataMember")]
public class ListDataSet : BaseDataSet, IBaseDataSet
Inheritance
object ← MarshalByRefObject ← Component ← BaseDataSet ← ListDataSet
Implements
IBaseDataSet
Inherited Members
BaseDataSet.PropertyChanged, BaseDataSet.AssignedSource(), BaseDataSet.Close(), BaseDataSet.GetActive(), BaseDataSet.GetBoolean(int), BaseDataSet.GetByte(int), BaseDataSet.GetDateTime(int), BaseDataSet.GetDecimal(int), BaseDataSet.GetDouble(int), BaseDataSet.GetFieldCount(), BaseDataSet.GetFieldNames(), BaseDataSet.GetFieldPropeties(string), BaseDataSet.GetFieldPropeties(int), BaseDataSet.GetFloat(int), BaseDataSet.GetInt16(int), BaseDataSet.GetInt32(int), BaseDataSet.GetInt64(int), BaseDataSet.GetName(int), BaseDataSet.GetOrdinal(string), BaseDataSet.GetString(int), BaseDataSet.GetValue(int), BaseDataSet.IsDBNull(int), BaseDataSet.Open(), BaseDataSet.Read(), BaseDataSet.NotifyPropertyChanged(string)
Properties
DataMember
Gets or sets DataMember.
public string DataMember { get; set; }
Property Value
DataSource
Gets or sets the data source.
public object DataSource { get; set; }
Property Value
Methods
AssignedSource()
Returns information that source is assigned.
public override bool AssignedSource()
Returns
Close()
Closes the connection. Not equal to the dispose. must be called separately.
public override void Close()
Dispose(bool)
Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
protected override void Dispose(bool disposing)
Parameters
disposing
bool
true to release both managed and unmanaged resources; false to release only unmanaged resources.
GetActive()
Gets information that connection is active.
public override bool GetActive()
Returns
GetBoolean(int)
Gets bool type value by field index.
public override bool GetBoolean(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetByte(int)
Gets byte type value by field index.
public override byte GetByte(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetDateTime(int)
Gets datetime type value by field index.
public override DateTime GetDateTime(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetDecimal(int)
Gets decimal type value by field index.
public override decimal GetDecimal(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetDouble(int)
Gets double type value by field index.
public override double GetDouble(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetFieldCount()
Gets number of the fields.
public override int GetFieldCount()
Returns
GetFieldNames()
Gets all field names.
public override string[] GetFieldNames()
Returns
string[]
GetFieldPropeties(string)
Gets field proeperties by field name.
public override DataFieldProperties GetFieldPropeties(string dataFieldName)
Parameters
dataFieldName
string
Returns
DataFieldProperties
GetFieldPropeties(int)
Gets field properties by field index.
public override DataFieldProperties GetFieldPropeties(int dataFieldIndex)
Parameters
dataFieldIndex
int
Returns
DataFieldProperties
GetFloat(int)
Gets float type value by field index.
public override float GetFloat(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetInt16(int)
Gets int16 type value by field index.
public override short GetInt16(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetInt32(int)
Gets int32 type value by field index.
public override int GetInt32(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetInt64(int)
Gets int64 type value by field index.
public override long GetInt64(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetName(int)
Gets name of the field by field index.
public override string GetName(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetOrdinal(string)
Gets index of the field by field name.
public override int GetOrdinal(string dataFieldName)
Parameters
dataFieldName
string
Returns
GetString(int)
Gets string type value by field index.
public override string GetString(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetValue(int)
Gets raw value from db.
public override object GetValue(int fieldIndexOfId)
Parameters
fieldIndexOfId
int
Returns
IsDBNull(int)
Checks the field index for DBNull type.
public override bool IsDBNull(int fieldIndex)
Parameters
fieldIndex
int
Returns
Open()
Opens the connection.
public override bool Open()
Returns
Read()
Reads the data.
public override bool Read()