Commit Graph

111 Commits

Author SHA1 Message Date
dependabot[bot]
4d0da49720 Bump actions/upload-artifact from v2.2.2 to v2.2.3 (#78) 2021-04-07 11:11:13 +02:00
dependabot[bot]
3b13c30255 Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4 (#76)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.1 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.1...v16.9.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-02 09:56:34 +02:00
dependabot[bot]
5572e74433 Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.9.1 (#71)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.0 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v16.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 23:11:08 +01:00
dependabot[bot]
195904b368 Bump actions/upload-artifact from v1 to v2.2.2 (#70)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...e448a9b857ee2131e752b06002bf0e093c65e571)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 23:10:59 +01:00
Shay Rojansky
ad12e107b4 Enable dependabot 2021-03-10 23:08:32 +01:00
Shay Rojansky
a1f10cf3ba Extract package versions to properties 2021-03-10 23:08:09 +01:00
Shay Rojansky
6abc7db298 Switch to centralized package management 2021-02-16 20:35:36 +01: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
8d45a88561 Bump version to 5.0.2 2021-01-22 19:54:37 +01: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
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