摘要: https://www.learnentityframeworkcore.com/concurrency concurrency token 无论何时, 当一个更新操作或者删除操作发生时, 即我们的代码调用 SaveChange() 时, target value 上面拿到当前的 concurren 阅读全文
posted @ 2019-10-12 13:26 YanyuWu 阅读(219) 评论(0) 推荐(0) 编辑
摘要: https://www.learnentityframeworkcore.com/configuration/fluent api/model configuration https://www.learnentityframeworkcore.com/configuration/fluent ap 阅读全文
posted @ 2019-10-12 10:38 YanyuWu 阅读(165) 评论(0) 推荐(0) 编辑
摘要: https://www.learnentityframeworkcore.com/configuration/fluent api/property configuration 配置entity的属性是非常之常用的, 我们可以为属性进行长度等各方面的限制, 都可以使用 fluent api完成, 下 阅读全文
posted @ 2019-10-12 10:38 YanyuWu 阅读(188) 评论(0) 推荐(0) 编辑
摘要: https://www.learnentityframeworkcore.com/configuration/fluent api/type configuration how to use? method | des | HasAlternateKey | Generates a unique c 阅读全文
posted @ 2019-10-12 10:37 YanyuWu 阅读(198) 评论(0) 推荐(0) 编辑