摘要:
1、执行非查询语句: mydbContext.Database.ExecuteSqlInterpolatedAsync($""); ExecuteSqlInterpolatedAsync这个方法: public static int ExecuteSqlInterpolatedAsync(this 阅读全文
摘要:
使用EFCore的功能,主要写三种文件: 1、实体类,Model类,对应数据库的数据字段: public class Book { public long Id { get; set; } public string Title { get; set; } public DateTime PubTi 阅读全文