摘要: 理解依赖注入(IOC)和学习Unity Martin Fowler在那篇著名的文章《Inversion of Control Containers and the Dependency Injection pattern》中将具体依赖注入划分为三种形式,即构造器注入、属性(设置)注入和接口注入,习惯 阅读全文
posted @ 2017-10-26 17:36 a2502971 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 示例如下 [Table("ApprovalLog")] public class ApprovalLog { [Key] public int LogId { get; set; } public int Action { get; set; } public string Approver { g 阅读全文
posted @ 2017-10-26 12:21 a2502971 阅读(1330) 评论(0) 推荐(0) 编辑