public TwitterAccountRepository(BackUpSystemDbContext dbContext)
     : base(dbContext)
 {
 }
Beispiel #2
0
 public UserRepository(BackUpSystemDbContext dbContext)
     : base(dbContext)
 {
 }
Beispiel #3
0
 public UnitOfWork(BackUpSystemDbContext dbContext)
 {
     Guard.WhenArgument(dbContext, "DbContext").IsNull().Throw();
     this.dbContext = dbContext;
 }
Beispiel #4
0
 /// <summary>
 //// Initializes a new instance of the <see cref="Repository{TEntity}"/> class heir.
 /// </summary>
 //// <param name="context">Context that provide connection to the database.</param>
 public Repository(BackUpSystemDbContext dbContext)
 {
     Guard.WhenArgument(dbContext, "DbContext").IsNull().Throw();
     this.dbContext = dbContext;
 }
 public TweetRepository(BackUpSystemDbContext dbContext)
     : base(dbContext)
 {
 }