一.示例用数据库为Northwind数据库,可在百度网盘下载 https://pan.baidu.com/s/1er0Mm48kUfeAsYkSW6DfnA 密码:r7pm 二.如何初始化SqlRepoEx请参看上一篇博文<轻量ORM-SqlRepoEx (二)初始化SqlRepoEx> 三.生成示例用类 public class Customers { #region 业务属性定义 public string CustomerID { get; set; } public string Co
管理控制器 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SportsStore.Domain.Entities; using SportsStore.Domain.Abstract; namespace SportsStore.WebUI.Controllers { public class AdminControl