摘要:
EF 简单 增删改查 一、新建Models 中实体类 在类中添加特性,添加特性之前需要引用命名空间 需要引用 using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema 阅读全文
摘要:
恢复内容开始 EF 简单 增删改查 一、新建Models 中实体类 在类中添加特性,添加特性之前需要引用命名空间 需要引用 using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations 阅读全文