Click or drag to resize

IDataSource Interface

Provides methods to operate the data source

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public interface IDataSource : IMetadataProvider

The IDataSource type exposes the following members.

Properties
  NameDescription
Public propertySupportsViews
Gets a value indicating whether the data source supports data views.
Public propertyUserName
Gets the user name used for login.
Top
Methods
  NameDescription
Public methodExecute
Executes the specified commands
Public methodGetTableMetadataOrDefault
Returns meta-data about the specified table. Returns null if the meta-data is not found.
(Inherited from IMetadataProvider.)
Top
Extension Methods
  NameDescription
Public Extension MethodDelete
Deletes the specified row from the data source
(Defined by DataSourceExtensions.)
Public Extension MethodExecute
Executes one command on the data source
(Defined by DataSourceExtensions.)
Public Extension MethodExecuteGetTableMetadataCommand
Gets meta data information about a table
(Defined by DataSourceExtensions.)
Public Extension MethodGetById
Loads from the data source a table row from the specified table with the specified id.
(Defined by DataSourceExtensions.)
Public Extension MethodGetByIdList
Loads from the data source the rows with the specified ids.
(Defined by DataSourceExtensions.)
Public Extension MethodGetCount
Gets the number of records matching the specified filter.
(Defined by DataSourceExtensions.)
Public Extension MethodGetTableMetadata
Returns the meta-data about the specified table. Throws exception if the table is not found.
(Defined by MetadataProviderExtensions.)
Public Extension MethodRead
Reads multiple (up to rowCount) rows from the specified query, matching the filter
(Defined by DataSourceExtensions.)
Public Extension MethodUpdate(IBuffer, String)Overloaded.
Updates the data source with the changes in the DataSet
(Defined by DataSourceExtensions.)
Public Extension MethodUpdate(IBuffer, String)Overloaded.
Executes data update command on the data source
(Defined by DataSourceExtensions.)
Top
See Also