コード例 #1
0
        //Inject the coreAppDBContext in to the Repository class

        public CategoryRepository(CoreAppDBContext ctx)
        {
            this.ctx = ctx;
        }
コード例 #2
0
 public ProductRepository(CoreAppDBContext ctx)
 {
     this.ctx = ctx;
 }