public WhoScoredRepository(IWhoScoredContext context)
        {
            Guard.WhenArgument(context, "context").IsNull();

            this.Context = context;
            this.DbSet   = this.Context.Set <T>();
        }
Exemple #2
0
 public WhoScoredUnitOfWork(IWhoScoredContext context)
 {
     Guard.WhenArgument(context, "context").IsNull().Throw();
     this.context = context;
 }
Exemple #3
0
        public WhoScoredData(IWhoScoredContext context)
        {
            Guard.WhenArgument(context, "context").IsNull();

            this.context = context;
        }