コード例 #1
0
        public MembersController()
        {
            var factory = new ProductTrackContextFactory();
            var args    = new string[] { "ProductTrackEntities" };

            _context = factory.CreateDbContext(args);
        }
コード例 #2
0
 public MembersController(ProductTrackContext context)
 {
     _context = context;
 }