DigitalPlatform / blog

技术文章
0 stars 0 forks source link

Entity Framework #30

Open DigitalPlatform opened 4 years ago

DigitalPlatform commented 4 years ago

https://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-entity-framework-winform-data-source.html

https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html

https://www.cnblogs.com/VolcanoCloud/p/4517310.html 《Entity Framework 6 Recipes》中文翻译系列 目录篇 -持续更新

https://www.cnblogs.com/VolcanoCloud/p/4205887.html

https://docs.microsoft.com/zh-cn/ef/core/get-started/?tabs=netcore-cli

https://www.cnblogs.com/CreateMyself/p/6613949.html

DigitalPlatform commented 4 years ago

https://stackoverflow.com/questions/18113418/ignore-duplicate-key-insert-with-entity-framework


https://www.michaelgmccarthy.com/2016/08/24/entity-framework-addorupdate-is-a-destructive-operation/

https://stackoverflow.com/questions/2465933/how-to-clean-up-an-entity-framework-object-context

https://entityframework.net/joining

https://blog.csdn.net/u011127019/article/details/54943303 EF GroupBy https://blog.csdn.net/u011127019/article/details/53992858 EF日期格式筛选

https://stackoverflow.com/questions/17717858/linq-sum-on-objects

http://linq101.nilzorblog.com/linq101-lambda.php

DigitalPlatform commented 4 years ago

https://stackoverflow.com/questions/9720225/how-to-perform-join-between-multiple-tables-in-linq-lambda 介绍了如何进行多表 JOIN

https://stackoverflow.com/questions/44526269/entity-framework-performance-of-addorupdate-vs-looped-add AddOrUpdate 的性能问题

https://docs.microsoft.com/en-us/ef/ef6/querying/related-data

https://www.learnentityframeworkcore.com/lazy-loading

https://stackoverflow.com/questions/40122162/entity-framework-core-lazy-loading

https://stackoverflow.com/questions/36208580/what-happened-to-addorupdate-in-ef-7-core

DigitalPlatform commented 4 years ago

https://www.learnentityframeworkcore.com/inheritance/table-per-hierarchy TPH

https://stackoverflow.com/questions/43591470/entity-framework-generic-base-class

https://docs.microsoft.com/en-us/ef/ef6/modeling/code-first/fluent/types-and-properties

https://blog.wassupy.com/2012/10/catching-unique-key-constraint.html

https://github.com/artiomchi/FlexLabs.Upsert

https://stackoverflow.com/questions/20270599/entity-framework-refresh-context

DigitalPlatform commented 4 years ago

https://cpratt.co/generic-entity-base-class/

https://teamtreehouse.com/library/creating-a-generic-base-repository-class

https://stackoverflow.com/questions/12085353/how-to-use-include-after-oftype

https://entityframeworkcore.com/knowledge-base/57940222/why-there-is-no-ef-core-oftype-type-type--method-

https://stackoverflow.com/questions/33771148/entity-framework-including-collections-on-derived-from-base-dbset

https://docs.microsoft.com/en-us/ef/ef6/querying/no-tracking

https://stackoverflow.com/questions/12179770/mysql-1062-duplicate-entry-0-for-key-primary

https://docs.microsoft.com/en-us/ef/core/saving/concurrency

https://stackoverflow.com/questions/26440479/ef-get-dbset-name-in-runtime-from-type

https://docs.microsoft.com/en-us/ef/ef6/fundamentals/proxies

DigitalPlatform commented 4 years ago

https://stackoverflow.com/questions/37078256/entity-framework-building-where-clause-on-the-fly-using-expression

https://eval-expression.net/linq-dynamic

https://entityframework.net/eval-expression-net

https://weblog.west-wind.com/posts/2008/Apr/14/Dynamic-Queries-and-LINQ-Expressions

DigitalPlatform commented 4 years ago

Migration

https://www.cnblogs.com/jRoger/p/entity-framework-core-auto-migration.html

https://elanderson.net/2017/04/entity-framework-core-with-sqlite-migration-limitations/

DigitalPlatform commented 3 years ago

Raw SQL

https://www.learnentityframeworkcore.com/raw-sql

https://stackoverflow.com/questions/46114711/execute-sql-command-in-entity-framework-core-2-0-to-delete-all-data-in-a-table

DigitalPlatform commented 3 years ago

FreeSql

https://github.com/dotnetcore/FreeSql