Commit Graph

38 Commits

Author SHA1 Message Date
Shay Rojansky
8ce1fb1bb0 TPC support (#182)
Also turn on nullability for the tests

Closes #181
Closes #177
2023-01-13 18:17:43 +01:00
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
5fc46874de Version 7.0.0-rc.2 (#167) 2022-10-16 13:42:25 +00: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
Vyacheslav Mostovoy
748054bf6e Support efcore 6.0 preview 3 (#80) 2021-04-19 19:58:50 +02: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
Fernando Contreras
bc046ca656 Adding support for lowercasing only the first character (#59) (#60)
Closes #59
2021-01-18 18:41:55 +01:00
Shay Rojansky
5b060fce6b Correct tiny warning thing 2021-01-15 15:33:56 +01: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
Shay Rojansky
4776189715 Update to 5.0.0-preview8 2020-09-13 17:07:07 +03:00
Rafael
c442559286 Upper snake case naming convention (#32)
Closes #31
2020-06-26 21:36:55 +02:00
Shay Rojansky
d5511c6f6c Proper prefix management on owned entity properties
Fixes #17
Fixes #26
2020-06-18 01:22:37 +02:00
Shay Rojansky
24b3195804 Fix owner entity table name resetting 2020-06-18 01:19:29 +02:00
Shay Rojansky
c6c1d1ec6b Fix tests for culture
Part of #19
2020-05-09 10:47:28 +02:00
Arda Terekeci
290cc33029 SnakeCase,LowerCase, UpperCase Culture fix (#25)
Fixes #19
2020-05-04 12:34:19 +02:00
Shay Rojansky
a4065c5be4 Remove trailing whitespace 2020-02-12 17:06:21 +01:00
Shay Rojansky
e49ce80c22 Rewrite alternative key names
Fixes #18
2020-02-12 14:39:06 +01:00
Shay Rojansky
9b2cc47d37 Rewrite constraint and index names
Closes #3
2020-01-20 10:38:45 +01:00
Shay Rojansky
751ee3d8ec Depend on EF Core 3.1 and target netstandard2.1
Closes #14
2020-01-17 11:36:02 +01:00
Shay Rojansky
b1b8248249 Revert rewritten name when entity becomes owned
This prevented table splitting from working.

Fixes #4
2020-01-16 23:19:12 +01:00
Shay Rojansky
773b821bf3 Correct test namespace 2020-01-16 22:32:45 +01:00
Shay Rojansky
c04026a104 Refactor tests for better code reuse 2020-01-16 21:35:57 +01:00
Shay Rojansky
2967e28968 Fixup to new lower case convention
See c8ac73cd9a
2020-01-16 20:53:22 +01:00
Leonid Tsarev
c8ac73cd9a Add support for lower case naming convention
('fullname', not 'FullName' or 'full_name')
2020-01-16 20:51:03 +01:00
Shay Rojansky
56932b721e Depend on 3.0.0 GA and centralize versions 2019-09-26 17:54:23 +02:00
Shay Rojansky
6f4f66698b Correct API names 2019-09-26 17:49:39 +02:00
Shay Rojansky
2ee1db0be7 Initial commit 2019-09-21 14:51:04 +02:00