01 2022 档案

摘要:在某些业务中会遇到需要同步两个类的属性值的情况,而且有些字段是要过滤掉的。如果手动赋值则需要写很多重复的代码: public class Teacher { public Guid Id { get; set; } public string Name { get; set; } public st 阅读全文
posted @ 2022-01-11 10:52 tchivs 阅读(451) 评论(0) 推荐(0) 编辑
摘要:Nuget包管理器控制台: Add-Migration init -Args '--environment Development' Update-Database -Args '--environment Development' 命令提示符: dotnet ef migrations add i 阅读全文
posted @ 2022-01-04 14:44 tchivs 阅读(202) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示