/////////////////////////////////////////////////////////////// // 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. // Templates version: ////////////////////////////////////////////////////////////// using System; using System.Data; using System.Data.Common; using DataFeedFrameworkDAL.EntityClasses; using DataFeedFrameworkDAL.FactoryClasses; using DataFeedFrameworkDAL.CollectionClasses; using DataFeedFrameworkDAL.HelperClasses; using DataFeedFrameworkDAL; using SD.LLBLGen.Pro.ORMSupportClasses; using SD.LLBLGen.Pro.DQE.SqlServer; namespace DataFeedFrameworkDAL.DaoClasses { // __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces // __LLBLGENPRO_USER_CODE_REGION_END /// /// General DAO class for the FeedCreation Entity. It will perform database oriented actions for /// a entity of type 'FeedCreationEntity'. This DAO works on an EntityFields object. /// public partial class FeedCreationDAO : DaoBase { /// CTor public FeedCreationDAO() : base(InheritanceInfoProviderSingleton.GetInstance(), new DynamicQueryEngine(), InheritanceHierarchyType.None, "FeedCreationEntity", new FeedCreationEntityFactory()) { } /// CTor /// Inheritance info provider to use. /// Dqe to use. /// Type of inheritance. /// Name of the entity. /// Entity factory. internal FeedCreationDAO(IInheritanceInfoProvider inheritanceInfoProviderToUse, DynamicQueryEngineBase dqeToUse, InheritanceHierarchyType typeOfInheritance, string entityName, IEntityFactory entityFactory) : base(inheritanceInfoProviderToUse, dqeToUse, typeOfInheritance, entityName, entityFactory) { } /// /// Retrieves entities of the type 'FeedCreationEntity' in a datatable which match the specified filter. /// It will always create a new connection to the database. /// /// 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 not 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. /// The page number to retrieve. /// The page size of the page to retrieve. /// a filled datatable if succeeded, false otherwise public virtual DataTable GetMultiAsDataTable(long maxNumberOfItemsToReturn, ISortExpression sortClauses, IPredicate selectFilter, IRelationCollection relations, int pageNumber, int pageSize) { IEntityFields fieldsToReturn = EntityFieldsFactory.CreateEntityFieldsObject(DataFeedFrameworkDAL.EntityType.FeedCreationEntity); return base.PerformGetMultiAsDataTableAction(maxNumberOfItemsToReturn, sortClauses, selectFilter, relations, 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 Custom DAO code // __LLBLGENPRO_USER_CODE_REGION_START CustomDAOCode // __LLBLGENPRO_USER_CODE_REGION_END #endregion #region Included Code #endregion } }