public static TaxScheduleRepository InstantiateForDatabase(RequestContext c) { TaxScheduleRepository result = null; result = new TaxScheduleRepository(c, new EntityFrameworkRepository <Data.EF.ecommrc_TaxSchedules>(new Data.EF.EntityFrameworkDevConnectionString(c.ConnectionStringForEntityFramework)), new SupressLogger()); return(result); }
public static TaxScheduleRepository InstantiateForMemory(RequestContext c) { TaxScheduleRepository result = null; result = new TaxScheduleRepository(c, new MemoryStrategy <Data.EF.ecommrc_TaxSchedules>(PrimaryKeyType.Long), new TextLogger()); return(result); }