Table of Contents

Class BaseDataSet

Namespace: FastReport.Olap.Cube
Assembly: FastCube.Core.dll

Base class for cube dataset.

public abstract class BaseDataSet : Component, IBaseDataSet

Inheritance

objectMarshalByRefObjectComponentBaseDataSet

Derived

BaseDataReaderDataSet

Implements

IBaseDataSet

Methods

AssignedSource()

Returns information that source is assigned.

public abstract bool AssignedSource()

Returns

bool

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

bool

GetBoolean(int)

Gets bool type value by field index.

public virtual bool GetBoolean(int fieldIndex)

Parameters

fieldIndex int

Returns

bool

GetByte(int)

Gets byte type value by field index.

public virtual byte GetByte(int fieldIndex)

Parameters

fieldIndex int

Returns

byte

GetDateTime(int)

Gets datetime type value by field index.

public virtual DateTime GetDateTime(int fieldIndex)

Parameters

fieldIndex int

Returns

DateTime

GetDecimal(int)

Gets decimal type value by field index.

public virtual decimal GetDecimal(int fieldIndex)

Parameters

fieldIndex int

Returns

decimal

GetDouble(int)

Gets double type value by field index.

public virtual double GetDouble(int fieldIndex)

Parameters

fieldIndex int

Returns

double

GetFieldCount()

Gets number of the fields.

public abstract int GetFieldCount()

Returns

int

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

DataFieldProperties

GetFieldPropeties(int)

Gets field properties by field index.

public abstract DataFieldProperties GetFieldPropeties(int dataFieldIndex)

Parameters

dataFieldIndex int

Returns

DataFieldProperties

GetFloat(int)

Gets float type value by field index.

public virtual float GetFloat(int fieldIndex)

Parameters

fieldIndex int

Returns

float

GetInt16(int)

Gets int16 type value by field index.

public virtual short GetInt16(int fieldIndex)

Parameters

fieldIndex int

Returns

short

GetInt32(int)

Gets int32 type value by field index.

public virtual int GetInt32(int fieldIndex)

Parameters

fieldIndex int

Returns

int

GetInt64(int)

Gets int64 type value by field index.

public virtual long GetInt64(int fieldIndex)

Parameters

fieldIndex int

Returns

long

GetName(int)

Gets name of the field by field index.

public abstract string GetName(int fieldIndex)

Parameters

fieldIndex int

Returns

string

GetOrdinal(string)

Gets index of the field by field name.

public abstract int GetOrdinal(string dataFieldName)

Parameters

dataFieldName string

Returns

int

GetString(int)

Gets string type value by field index.

public virtual string GetString(int fieldIndex)

Parameters

fieldIndex int

Returns

string

GetValue(int)

Gets raw value from db.

public virtual object GetValue(int fieldIndexOfId)

Parameters

fieldIndexOfId int

Returns

object

IsDBNull(int)

Checks the field index for DBNull type.

public virtual bool IsDBNull(int fieldIndex)

Parameters

fieldIndex int

Returns

bool

NotifyPropertyChanged(string)

Notifies property changed event.

protected void NotifyPropertyChanged(string propertyName)

Parameters

propertyName string

Open()

Opens the connection.

public abstract bool Open()

Returns

bool

Read()

Reads the data.

public abstract bool Read()

Returns

bool

PropertyChanged

Event on a property changed.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler