/// <summary>
 /// Creates a new instance of <see cref="TransactionsRepository"/>
 /// </summary>
 /// <param name="model">Database context</param>
 public TransactionsRepository(StockExchangeModel model) : base(model)
 {
 }
 /// <summary>
 /// Creates a new instance of <see cref="CompanyRepository"/>
 /// </summary>
 /// <param name="model">Database context</param>
 public CompanyRepository(StockExchangeModel model) : base(model)
 {
 }
 /// <summary>
 /// Creates a new instance of <see cref="GenericRepository{TEntity}"/>
 /// </summary>
 /// <param name="context"></param>
 public GenericRepository(StockExchangeModel context)
 {
     Context = context;
     DbSet   = context.Set <TEntity>();
 }
Пример #4
0
 /// <summary>
 /// Creates a new instance of <see cref="StrategiesRepository"/>
 /// </summary>
 /// <param name="model">Database context</param>
 public StrategiesRepository(StockExchangeModel model) : base(model)
 {
 }
 /// <summary>
 /// Creates a new instance of <see cref="GenericRepository{TEntity}"/>
 /// </summary>
 public GenericRepository()
 {
     Context = new StockExchangeModel();
     DbSet   = Context.Set <TEntity>();
 }
Пример #6
0
 /// <summary>
 /// Creates a new instance of <see cref="PriceRepository"/>
 /// </summary>
 /// <param name="model">Database context</param>
 public PriceRepository(StockExchangeModel model) : base(model)
 {
 }
Пример #7
0
 /// <summary>
 /// Creates a new instance of <see cref="UserRepository"/>
 /// </summary>
 /// <param name="model">Database context</param>
 public UserRepository(StockExchangeModel model) : base(model)
 {
 }
Пример #8
0
 /// <summary>
 /// Creates a new instance of <see cref="AppRoleStore"/>
 /// </summary>
 /// <param name="context"></param>
 public AppRoleStore(StockExchangeModel context) : base(context)
 {
 }
Пример #9
0
 /// <summary>
 /// Creates a new instance of <see cref="ApplicationUserStore"/>
 /// </summary>
 /// <param name="context"></param>
 public ApplicationUserStore(StockExchangeModel context) : base(context)
 {
 }