CMSBaseDataSourceGetDataSourceFromDB Method (Int32, Int32, Int32) |
Gets data source from DB.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax protected virtual Object GetDataSourceFromDB(
int offset,
int maxRecords,
ref int totalRecords
)
Parameters
- offset
- Type: SystemInt32
Index of first record to get - maxRecords
- Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used) - totalRecords
- Type: SystemInt32
Returns total number of available records
Return Value
Type:
ObjectDatasource from DB
See Also