Commit Graph

101 Commits

Author SHA1 Message Date
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
27ab6b4ca7 Bump version to 5.0.1 2021-01-09 15:37:38 +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
1f7549dc73 Switch Github Actions to use Ubuntu 20.04 2020-12-11 09:04:00 +02:00
Shay Rojansky
b5fc8a3eb9 Fixup
See https://github.com/efcore/EFCore.NamingConventions/pull/47#pullrequestreview-549351916
2020-12-11 09:04: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
36a41daa87 Don't pack and publish PRs 2020-09-16 14:11:21 +03:00
Shay Rojansky
4edb150000 Rearrange folders 2020-09-16 10:24:48 +03:00
Shay Rojansky
81c991de19 Tiny spacing fix 2020-09-15 10:07:27 +03:00
Shay Rojansky
150dfa80a1 Bump version and dependencies to 5.0.0-rc1 2020-09-15 02:16:06 +03:00
Shay Rojansky
58f39b7ccf Pack CI vs. release packages 2020-09-15 02:16:06 +03:00
Shay Rojansky
3dfe9ca854 Produce snupkg 2020-09-15 02:09:02 +03:00
Shay Rojansky
5d383cfabd Update package tags 2020-09-15 02:08:31 +03:00
Shay Rojansky
d63a18ce75 Apply EF Core code styling 2020-09-14 17:29:47 +03:00
Shay Rojansky
cbf0949176 Use latest 3.1 SDK 2020-09-13 21:10:43 +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
faeeb6e395 Run Github Actions workflow for PRs too 2020-06-26 21:36:09 +02:00
Shay Rojansky
40d6b1d78f Pack nugets with Github Actions
Also add SourceLink
2020-06-18 01:33:27 +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
40929d904f Set version to 5.0.0-preview5
Fixes #30
2020-06-18 01:19:25 +02:00
Shay Rojansky
40bd6bb6c6 Don't rewrite table names for derived entities
Fixes #16
2020-05-23 14:58:02 +02:00
Shay Rojansky
73c5077a48 Remove public signing
Fixes #23
2020-05-23 13:28:27 +02:00
Shay Rojansky
9736030efa Document upper/lower case conventions
Fixes #20
2020-05-23 13:14:50 +02:00
Shay Rojansky
c6c1d1ec6b Fix tests for culture
Part of #19
2020-05-09 10:47:28 +02:00
Shay Rojansky
e048988ab9 Take culture into account in ExtensionInfo
Part of #19
2020-05-09 10:41:26 +02:00
Shay Rojansky
35889d89d5 Correct XML doc comment 2020-05-09 10:14:17 +02:00
Arda Terekeci
290cc33029 SnakeCase,LowerCase, UpperCase Culture fix (#25)
Fixes #19
2020-05-04 12:34:19 +02:00
Shashwat
2bacf92f66 Docs: Fixed NuGet Link
Updated link to the latest version.
2020-04-26 16:56:24 +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
6ed5416217 Bump version to 1.1.0 2020-01-20 10:42:54 +01:00
Shay Rojansky
9b2cc47d37 Rewrite constraint and index names
Closes #3
2020-01-20 10:38:45 +01:00
Yoh Deadfall
587f4dca02 Decreased memory usage in name rewriter 2020-01-20 10:34:55 +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
5adfa687a4 Add upper case naming convention
Closes #11
2020-01-16 21:35:48 +01:00
Shay Rojansky
575074a41f Refactor for better code reuse
Rewriters now only need to expose a single RewriteName method, and
the actual convention methods are implemented in a single base
class.
2020-01-16 20:57:18 +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
a61e9fa045 Basic Github Actions build workflow 2020-01-16 19:59:24 +01:00
Leonid Tsarev
ca7f50b2f0 Update README.MD - add nuget badge 2020-01-16 19:47:24 +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