public AdoNetUnitOfWork() { var connectionString = ConfigurationManager .ConnectionStrings[ConnectionStringName] .ConnectionString; context = new AdoNetContext(connectionString, true); }
public SupplierRepository(AdoNetContext context) : base(context) { this.context = context; }
public Repository(AdoNetContext context) { Context = context; }
public ProductRepository(AdoNetContext context) : base(context) { this.context = context; }
public CategoryRepository(AdoNetContext context) : base(context) { this.context = context; }