EF 基础学习

创建框架 一、新建Models 中实体类 在类中添加特性,添加特性之前需要引用命名空间 using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema; 1、类的上边 [Ta
posted @ 2021-07-15 19:27  奋斗中的小姬  阅读(49)  评论(0编辑  收藏  举报