public List <SAP_Interface_Log_Detail> SelectAll(int start, int length, List <WhereClause> Where, List <OrderByClause> OrderBy)
        {
            SelectQueryBuilder Sqb = new SelectQueryBuilder();

            Sqb.SelectAllColumns();
            if (start > 0 || length > 0)
            {
                if (start == 0)
                {
                    Sqb.TopRecords = length;
                }
                else
                {
                    Sqb.LimitRecords(start, length);
                }
            }
            Sqb.SelectFromTable("SAP_Interface_Log_Detail");
            if (Where != null)
            {
                foreach (WhereClause Item in Where)
                {
                    Sqb.AddWhere(Item);
                }
            }
            if (OrderBy != null)
            {
                foreach (OrderByClause Item in OrderBy)
                {
                    Sqb.AddOrderBy(Item);
                }
            }

            DataTable dt = LoadByQueryBuilder(Sqb);
            List <SAP_Interface_Log_Detail> Res = new List <SAP_Interface_Log_Detail>();

            foreach (DataRow Dr in dt.Rows)
            {
                SAP_Interface_Log_Detail Item = new SAP_Interface_Log_Detail();
                Item.ExecCommand.Load(Dr);
                Res.Add(Item);
            }

            return(Res);
        }
 internal SAP_Interface_Log_Detail_Command(string ConnectionStr, SAP_Interface_Log_Detail obj_SAP_Interface_Log_Detail)
 {
     this._SAP_Interface_Log_Detail = obj_SAP_Interface_Log_Detail;
     this._DBHelper = new DBHelper(ConnectionStr, null);
 }
 internal SAP_Interface_Log_Detail_Command(SAP_Interface_Log_Detail obj_SAP_Interface_Log_Detail)
 {
     this._SAP_Interface_Log_Detail = obj_SAP_Interface_Log_Detail;
     this._DBHelper = new DBHelper();
 }