Click or drag to resize

StiDataSource Class

The base class that realizes the Data Source.
Inheritance Hierarchy

Namespace:  Stimulsoft.Report.Dictionary
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public abstract class StiDataSource : ICloneable, 
	IStiAppDataSource, IStiAppCell, IStiStateSaveRestore, IStiEnumerator, IEnumerator, 
	IEnumerable, IStiName, IStiInherited, IStiPropertyGridObject, IStiJsonReportObject

The StiDataSource type exposes the following members.

Constructors
  NameDescription
Public methodStiDataSource(String, String)
Creates a new Data Source.
Public methodStiDataSource(String, String, String)
Creates a new Data Source.
Top
Properties
  NameDescription
Public propertyAlias
Gets or sets of the Data Source alias.
Protected propertyColumnIndexes
Public propertyColumns
Gets or sets the column collection.
Public propertyComponentId
Public propertyConnectionOrder
Gets or sets value which indicates in which order that datasource will be connect to the data.
Public propertyConnectOnStart
Gets or sets value which indicates that datasource not connect to the data automatically.
Public propertyCount
Gets count of elements.
Protected propertyDataAdapterType
Public propertyDataTable
Gets DataTable.
Protected propertyDetailRows
Public propertyDictionary
Gets or sets the dictionary in which this Data Source is located.
Public propertyInherited
Public propertyIsBof
Gets value indicates that this position specifies to the beginning of data.
Public propertyIsCloud
Gets or sets value which indicates that this data source is created dynamically by the Stimulsoft Reports.Server.
Public propertyIsConnected
Gets value indicates which Data Source is connected with data.
Public propertyIsEmpty
Gets value indicates that no data.
Public propertyIsEof
Gets value indicates that this position specifies to the data end.
Public propertyItem
Indexer to work with the current row of data. Returns the value by the column name and the current position in the Data Source. Indexer calls the method GetData. ColumnName - name of column.
Public propertyKey
Gets or sets the key of the dictionary object.
Public propertyName
Gets or sets of the Data Source name.
Public propertyParameters
Gets or sets the parameter collection.
Public propertyPosition
Gets the current position.
Public propertyPropName
Public propertyRealCount
Public propertyRows
Gets or sets rows collection.
Protected propertyRowToLevel
Protected propertyStates
Gets the component states manager.
Top
Methods
  NameDescription
Public methodCheckColumnsIndexs
Internal use only.
Public methodClearAllStates
Clear all earlier saved object states.
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodConnect
Public methodConnect(Boolean)
Public methodConnect(StiDataCollection)
Public methodConnect(StiDataCollection, Boolean)
Connect Data Source to data. It is necessary to call the parent of the method(base.Connect).
Public methodCreateNew
Public methodDisconnect
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFetchChildRelations
Returns an enumeration of the child data relations for this data source.
Public methodFetchColumns
Returns an enumeration of the data columns from this dictionary.
Public methodFetchColumnValues
Returns an array of values for the specified column in the specified position.
Public methodFetchParentRelations
Returns an enumeration of the parent data relations for this data source.
Public methodFillColumns
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFirst
Sets a position at the beginning.
Public methodGetCategoryName
Returns the name to categories of the Data Source.
Public methodGetChildDataSource
Returns the child Data Source by the relation name.
Public methodGetChildRelations
Returns a collection of Child relations.
Public methodGetColumnIndex
Returns the index of a column in the data source.
Public methodGetConnection
Returns a connection to data for this data source.
Public methodGetData(String)
Returns the value by the column name and the current position in the Data Source.
Public methodGetData(String, Int32)
Returns the value by the column name and index of row in the Data Source.
Public methodGetDataAdapter
Protected methodGetDataAdapterType
Public methodGetDataTable
Public methodGetDataTable(Boolean)
Returns a DataTable with data from this datasource.
Public methodGetDataTable(DataTable)
Public methodGetDictionary
Returns reference to the dictionary which contains this datasource.
Public methodGetEvents
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLevel
Returns level of data in hierarchical band.
Public methodGetName
Public methodGetNameInSource
Public methodGetParentData
Returns the parent row with data for the indicated relation.
Public methodGetParentDataSource
Returns the parent Data Source by the relation name.
Public methodGetParentRelations
Returns the colection of Parent relations.
Public methodGetProperties
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInvokeConnecting
Protected methodInvokeDisconnecting
Public methodLast
Sets a position on the last element.
Public methodLoadFromJsonObject
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext
Sets a position on the next element.
Public methodPrior
Sets a position on the previous element.
Public methodResetData
Public methodResetDetailsRows
Public methodRestoreState
Restores the earlier saved object state.
Public methodSaveState
Saves the current state of an object.
Public methodSaveToJsonObject
Public methodSetData
Public methodSetDetails
Set the details data for Data Source.
Public methodSetFilter
Apply filter to data.
Public methodSetSort
Sorts data. If data source is not able to sort data then this command is ignored.
Public methodSynchronizeColumns
Synchronize list of columns with columns in datastore.
Public methodToString
Returns the text view of the Data Source.
(Overrides ObjectToString.)
Public methodToString(Boolean)
Top
Events
  NameDescription
Public eventConnecting
Public eventDisconnecting
Top
Fields
Extension Methods
See Also