Пример #1
0
 public List <TruckList> GetListByType(int VehicleType, string MobileNo)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTTRUCK, MapBuilder <TruckList> .BuildAllProperties(), VehicleType, MobileNo).ToList());
 }
Пример #2
0
 public void ThenCreateSprocAccessorWithNullParameterMapperThrows()
 {
     Database.CreateSprocAccessor <Product>("prodedure name", null, MapBuilder <Product> .BuildAllProperties());
 }
Пример #3
0
 public List <ARCreditNoteDetail> GetListByDocumentNo(string documentNo)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTARCREDITNOTEDETAIL, MapBuilder <ARCreditNoteDetail> .BuildAllProperties(), documentNo).ToList());
 }
Пример #4
0
 public List <Invoice> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTINVOICE, MapBuilder <Invoice> .BuildAllProperties()).ToList());
 }
Пример #5
0
 public void ThenCreateSqlStringAccessorWithNullDatabaseThrows()
 {
     new SqlStringAccessor <Product>(null, "SELECT 'test'", MapBuilder <Product> .BuildAllProperties());
 }
Пример #6
0
 public List <OperatorVehicle> GetOperatorVehicleListById(string OperatorVehicleID)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTOPERATORVEHICLETOTALLISTBYID, MapBuilder <OperatorVehicle> .BuildAllProperties(), OperatorVehicleID).ToList());
 }
Пример #7
0
        //public List<Customer> GetCustomerTableDataList(DataTableObject Obj)
        //{
        //    return db.ExecuteSprocAccessor(DBRoutine.SELECTCUSTOMERTABLEDATA,
        //        MapBuilder<Customer>.BuildAllProperties(),
        //        Obj.limit, Obj.offset, Obj.sortColumn, Obj.sortType,Obj.BranchID).ToList();
        //}


        public List <Customer> GetCustomerTableDataList(DataTableObject Obj)
        {
            return(db.ExecuteSprocAccessor(DBRoutine.CUSTOMERPAGEVIEW,
                                           MapBuilder <Customer> .BuildAllProperties(),
                                           Obj.BranchID, Obj.limit, Obj.offset, Obj.sortColumn, Obj.sortType).ToList());
        }
Пример #8
0
 public List <CustomerLogin> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTCUSTOMERLOGIN, MapBuilder <CustomerLogin> .BuildAllProperties()).ToList());
 }
Пример #9
0
 public List <Address> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTADDRESS, MapBuilder <Address> .BuildAllProperties()).ToList());
 }
Пример #10
0
 public List <OperatorDriverList> GetOperatorDriverList(string DriverID)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTOPERATORCHECKDRIVERLIST, MapBuilder <OperatorDriverList> .BuildAllProperties(), DriverID).ToList());
 }
Пример #11
0
 public List <OperatorDriverList> GetOperatortotalDriverList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTOPERATORDRIVERTOTALLIST, MapBuilder <OperatorDriverList> .BuildAllProperties()).ToList());
 }
Пример #12
0
 public List <OperatorVehuicleAttachedNo> GetVehicleNoList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTVEHICLENODETAILS, MapBuilder <OperatorVehuicleAttachedNo> .BuildAllProperties()).ToList());
 }
Пример #13
0
 public List <OperatorDriver> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTDRIVERDETAILS, MapBuilder <OperatorDriver> .BuildAllProperties()).ToList());
 }
Пример #14
0
 public List <OperatorDriverList> GetSelectList(string OperatorID)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTOPERATORDRIVERBYID, MapBuilder <OperatorDriverList> .BuildAllProperties(), OperatorID).ToList());
 }
Пример #15
0
 public List <LookUp> GetVehicleCategoryList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTOPERATORVEHICLECATEGORYLIST, MapBuilder <LookUp> .BuildAllProperties()).ToList());
 }
 public List <OperatorAttachment> GetList(string OperatorID)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.OPERATORATTACHMENTSLIST,
                                    MapBuilder <OperatorAttachment> .BuildAllProperties(), OperatorID).ToList());
 }
Пример #17
0
 public List <OperatorVehicles> GetModelList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTOPERATORVEHICLEMODELLIST, MapBuilder <OperatorVehicles> .BuildAllProperties()).ToList());
 }
Пример #18
0
 public List <VendorRMAOutwardDetail> GetList(short branchID, string documentNo)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTVENDORRMAOUTWARDDETAIL, MapBuilder <VendorRMAOutwardDetail> .BuildAllProperties(), branchID, documentNo).ToList());
 }
Пример #19
0
 public List <APTransaction> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTAPTRANSACTION, MapBuilder <APTransaction> .BuildAllProperties()).ToList());
 }
Пример #20
0
 protected virtual IRowMapper <T> BuildMapper()
 {
     return(MapBuilder <T> .BuildAllProperties());
 }
Пример #21
0
 public List <CBPaymentGlDetail> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTCBPAYMENTGLDETAIL, MapBuilder <CBPaymentGlDetail> .BuildAllProperties()).ToList());
 }
Пример #22
0
 public List <ProductCategory> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTPRODUCTCATEGORY, MapBuilder <ProductCategory> .BuildAllProperties()).ToList());
 }
Пример #23
0
 public List <GLJournalDetail> GetListByDocumentNo(string documentNo)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTGLJOURNALDETAIL, MapBuilder <GLJournalDetail> .BuildAllProperties(), documentNo).ToList());
 }
Пример #24
0
 public List <APCreditNoteDetail> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTAPCREDITNOTEDETAIL, MapBuilder <APCreditNoteDetail> .BuildAllProperties()).ToList());
 }
Пример #25
0
 public void ThenPassingNullParameterMapperThrows()
 {
     Database.CreateSqlStringAccessor <Product>("SELECT 'test'", null, MapBuilder <Product> .BuildAllProperties());
 }
Пример #26
0
 public List <SIDetail> GetList(string documentNo)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTSIDETAIL, MapBuilder <SIDetail> .BuildAllProperties(), documentNo).ToList());
 }
Пример #27
0
 public void ThenCreateSprocAccessorWithNullDatabaseThrows()
 {
     new SprocAccessor <Product>(null, "procedure name", MapBuilder <Product> .BuildAllProperties());
 }
Пример #28
0
 public List <LookUp> GetList()
 {
     return(db.ExecuteSprocAccessor(DBRoutine.SELECTOPERATORVEHICLETYPELIST, MapBuilder <LookUp> .BuildAllProperties()).ToList());
 }
Пример #29
0
 public List <CBPaymentDetail> GetListByDocumentNo(string documentNo)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTCBPAYMENTDETAIL, MapBuilder <CBPaymentDetail> .BuildAllProperties(), documentNo).ToList());
 }
Пример #30
0
 public List <TruckList> GetList(string MobileNo)
 {
     return(db.ExecuteSprocAccessor(DBRoutine.LISTTRUCK, MapBuilder <TruckList> .BuildAllProperties(), MobileNo).ToList());
 }