コード例 #1
0
 public TwitterAccountRepository(BackUpSystemDbContext dbContext)
     : base(dbContext)
 {
 }
コード例 #2
0
 public UserRepository(BackUpSystemDbContext dbContext)
     : base(dbContext)
 {
 }
コード例 #3
0
 public UnitOfWork(BackUpSystemDbContext dbContext)
 {
     Guard.WhenArgument(dbContext, "DbContext").IsNull().Throw();
     this.dbContext = dbContext;
 }
コード例 #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;
 }
コード例 #5
0
 public TweetRepository(BackUpSystemDbContext dbContext)
     : base(dbContext)
 {
 }