Commit Graph

15 Commits

Author SHA1 Message Date
Shay Rojansky
81d512004d Check name for null before attempting to rewrite
And annotate the plugin for nullability.

Fixes #179
2023-01-13 14:10:31 +01:00
Shay Rojansky
512cd9d0a7 Some formatting cleanup 2022-05-17 14:50:02 +02:00
Shay Rojansky
d876e7e4ca File-scoped namespaces 2022-05-17 14:44:27 +02:00
Shay Rojansky
1d7c3ef86d Add test for #84 2021-11-19 14:51:41 +01:00
Shay Rojansky
0cd5825bcd Reset all primary keys in the TPT hierarchy
Fixes #112
2021-11-19 14:37:03 +01:00
Shay Rojansky
cb9130ed08 Fix rewriting with OwnsMany
Fixes #69
2021-11-19 09:32:44 +01:00
Shay Rojansky
a447770a14 Don't create table for View/SqlQuery/Function-mapped entity types (#104)
Fixes #94
2021-11-10 12:08:28 +00:00
Zvonimir Matić
1bc13f8daa Upgrade to RC1 (#93)
* Changed versions and implemented methods
* Changed C# version to 10.0 and replaced CreateConventionSetBuilder method
* Upgrade the version of fotnet in build workflow
* Fix dotnet version again in build workflow
2021-09-26 19:21:02 +03:00
Shay Rojansky
55bd4b4877 Fix issues around setting the owner's table name explicitly (#68)
Fixes #67
2021-02-15 15:07:32 +00:00
Shay Rojansky
206245cdfd Avoiding rewriting PK name for owned entity in a TPT hierarchy (#63)
Fixes #62
2021-01-22 18:27:44 +00:00
Shay Rojansky
ea9e59ca80 Fix owned entity support (#58)
* Also avoid rewriting primary key name with TPT
* Also redo tests again to be properly end-to-end

Fixes #50
2021-01-09 15:35:44 +01:00
Shay Rojansky
4cb06461dd Proper support for table splitting (#55)
Fixes #54
2020-12-17 15:25:00 +02:00
Shay Rojansky
3f62586c3f Big overhaul for 5.0 (#47)
* Use EF Core 5.0
* Fixes around TPH, owned entity management
* Redid tests

Fixes #45
Closes #46
Fixes #41
2020-12-10 14:52:26 +02:00
Shay Rojansky
d63a18ce75 Apply EF Core code styling 2020-09-14 17:29:47 +03:00
Shay Rojansky
d4bacdcab7 General refactoring
* Specific no longer extend from an EF convention base class, but rather
  implement an interface (easier for testing).
* The EF convention now accepts a rewriter in its ctor.
* Eliminated useless duplication in the tests, we now have one test
  suite for the EF convention, and another suite for the various
  specific rewriters.
2020-09-13 17:50:34 +03:00