CodeFirst简单演示的步骤 创建实体类[Student] public class Student { public long Id { get; set; } public string Name { get; set; } public string Address { get; set; } public DateTime CreateTime { get; set; } public short IsDelete { get; set; } } 创建数据库[名称为CodeFirst…