示例#1
0
 public MerchantController()
 {
     if (db == null)
     {
         db = new HaoPianYiEntitiesContainer();
     }
 }
示例#2
0
 public AdminReviewController()
 {
     if (db == null)
     {
         db = new HaoPianYiEntitiesContainer();
     }
 }
 public AdminCategoryController()
 {
     if (db == null)
     {
         db = new HaoPianYiEntitiesContainer();
     }
 }
 public AdminPromoteController()
 {
     if (db == null)
     {
         db = new HaoPianYiEntitiesContainer();
     }
 }
示例#5
0
 public HomeController()
 {
     if (db == null)
     {
         db       = new HaoPianYiEntitiesContainer();
         PageSize = 5;
     }
 }