示例#1
0
 public GenericRepository(BatuaContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
示例#2
0
        //private BatuaContext context;

        //public UserRepository(BatuaContext context)
        //{
        //    this.context = context;
        //}

        public UserRepository(BatuaContext context)
            : base(context)
        {
        }