Class BaseDataSet
Namespace: FastReport.Olap.Cube
Assembly: FastCube.Core.dll
Base class for cube dataset.
public abstract class BaseDataSet : Component, IBaseDataSet
Inheritance
object ← MarshalByRefObject ← Component ← BaseDataSet
Derived
Implements
Methods
AssignedSource()
Returns information that source is assigned.
public abstract bool AssignedSource()
Returns
Close()
Closes the connection. Not equal to the dispose. must be called separately.
public abstract void Close()
GetActive()
Gets information that connection is active.
public abstract bool GetActive()
Returns
GetBoolean(int)
Gets bool type value by field index.
public virtual bool GetBoolean(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetByte(int)
Gets byte type value by field index.
public virtual byte GetByte(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetDateTime(int)
Gets datetime type value by field index.
public virtual DateTime GetDateTime(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetDecimal(int)
Gets decimal type value by field index.
public virtual decimal GetDecimal(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetDouble(int)
Gets double type value by field index.
public virtual double GetDouble(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetFieldCount()
Gets number of the fields.
public abstract int GetFieldCount()
Returns
GetFieldNames()
Gets all field names.
public abstract string[] GetFieldNames()
Returns
string[]
GetFieldPropeties(string)
Gets field proeperties by field name.
public abstract DataFieldProperties GetFieldPropeties(string dataFieldName)
Parameters
dataFieldName
string
Returns
GetFieldPropeties(int)
Gets field properties by field index.
public abstract DataFieldProperties GetFieldPropeties(int dataFieldIndex)
Parameters
dataFieldIndex
int
Returns
GetFloat(int)
Gets float type value by field index.
public virtual float GetFloat(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetInt16(int)
Gets int16 type value by field index.
public virtual short GetInt16(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetInt32(int)
Gets int32 type value by field index.
public virtual int GetInt32(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetInt64(int)
Gets int64 type value by field index.
public virtual long GetInt64(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetName(int)
Gets name of the field by field index.
public abstract string GetName(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetOrdinal(string)
Gets index of the field by field name.
public abstract int GetOrdinal(string dataFieldName)
Parameters
dataFieldName
string
Returns
GetString(int)
Gets string type value by field index.
public virtual string GetString(int fieldIndex)
Parameters
fieldIndex
int
Returns
GetValue(int)
Gets raw value from db.
public virtual object GetValue(int fieldIndexOfId)
Parameters
fieldIndexOfId
int
Returns
IsDBNull(int)
Checks the field index for DBNull type.
public virtual bool IsDBNull(int fieldIndex)
Parameters
fieldIndex
int
Returns
NotifyPropertyChanged(string)
Notifies property changed event.
protected void NotifyPropertyChanged(string propertyName)
Parameters
propertyName
string
Open()
Opens the connection.
public abstract bool Open()
Returns
Read()
Reads the data.
public abstract bool Read()
Returns
PropertyChanged
Event on a property changed.
public event PropertyChangedEventHandler PropertyChanged