/////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: 2.0.0.0 // Code is generated on: Saturday, February 24, 2007 10:00:21 PM // Code is generated using templates: SD.TemplateBindings.SharedTemplates.NET20 // Templates vendor: Solutions Design. ////////////////////////////////////////////////////////////// using System; using System.Data; using System.Data.Common; using DataFeedFrameworkDAL.HelperClasses; using SD.LLBLGen.Pro.ORMSupportClasses; using SD.LLBLGen.Pro.DQE.SqlServer; namespace DataFeedFrameworkDAL.DaoClasses { /// /// Generic DAO class for usage with Typed list classes. /// public partial class TypedListDAO : DaoBase { /// CTor public TypedListDAO() : base(InheritanceInfoProviderSingleton.GetInstance(), new DynamicQueryEngine(), InheritanceHierarchyType.None, string.Empty, null) { } /// /// Retrieves rows in the datatable provided which match the specified filter, containing the fields specified. It will always create a new connection to the database. /// /// IEntityFields implementation which forms the definition of the resultset to return. /// The datatable to fill with the rows retrieved /// The maximum number of items to return with this retrieval query. /// If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return. When set to 0, no limitations are specified. /// The order by specifications for the sorting of the resultset. When null is specified, no sorting is applied. /// A predicate or predicate expression which should be used as filter for the entities to retrieve. /// The set of relations to walk to construct to total query. /// Flag to allow duplicate rows or not /// The list of fields to group by on. When not specified or an empty collection is specified, no group by clause /// is added to the query. A check is performed for each field in the selectList. If a field in the selectList is not present in the groupByClause collection, an exception is thrown. /// The transaction object to use. Can be null. If specified, the connection object of the transaction is used to fill the TypedView, which avoids deadlocks on SqlServer. /// The page number to retrieve. /// The page size of the page to retrieve. /// true if succeeded, false otherwise public bool GetMultiAsDataTable(IEntityFields fieldsToReturn, DataTable tableToFill, long maxNumberOfItemsToReturn, ISortExpression sortClauses, IPredicate selectFilter, IRelationCollection relations, bool allowDuplicates, IGroupByCollection groupByClause, ITransaction transactionToUse, int pageNumber, int pageSize) { return base.PerformGetMultiAsDataTableAction(fieldsToReturn, tableToFill, maxNumberOfItemsToReturn, sortClauses, selectFilter, relations, allowDuplicates, groupByClause, transactionToUse, pageNumber, pageSize); } /// /// Determines the connection to use. If transaction to use is null, a new connection is created, otherwise the connection of the transaction is used. /// /// Transaction to use. /// a ready to use connection object. protected override IDbConnection DetermineConnectionToUse(ITransaction transactionToUse) { return DbUtils.DetermineConnectionToUse(transactionToUse); } /// /// Creates a new ADO.NET data adapter. /// /// ready to use ADO.NET data-adapter protected override DbDataAdapter CreateDataAdapter() { return DbUtils.CreateDataAdapter(); } #region Included Code #endregion } }