public CurrentDayRoute() { _db=new DispatchAR.DispatchDB(); Init(); }
internal static IRepository<CurrentDayPickup> GetRepo(string connectionString, string providerName) { DispatchAR.DispatchDB db; if(String.IsNullOrEmpty(connectionString)){ db=new DispatchAR.DispatchDB(); }else{ db=new DispatchAR.DispatchDB(connectionString, providerName); } IRepository<CurrentDayPickup> _repo; if(db.TestMode){ CurrentDayPickup.SetTestRepo(); _repo=_testRepo; }else{ _repo = new SubSonicRepository<CurrentDayPickup>(db); } return _repo; }
public CurrentDayRoute(string connectionString, string providerName) { _db=new DispatchAR.DispatchDB(connectionString, providerName); Init(); }
public Route() { _db=new DispatchAR.DispatchDB(); Init(); }
public CurrentDayPickup() { _db=new DispatchAR.DispatchDB(); Init(); }
public Posting() { _db=new DispatchAR.DispatchDB(); Init(); }
public Posting(string connectionString, string providerName) { _db=new DispatchAR.DispatchDB(connectionString, providerName); Init(); }
public Pickup() { _db=new DispatchAR.DispatchDB(); Init(); }
public DRIVER() { _db=new DispatchAR.DispatchDB(); Init(); }
public CUSTOMER() { _db=new DispatchAR.DispatchDB(); Init(); }