Skip to content

Commit

Permalink
v5.10.0 (#237)
Browse files Browse the repository at this point in the history
* Added PostgreSQL support.

* Add publishing code to template API where new subscriber option is used.

* Complete and finalize.
Update the CI.
  • Loading branch information
chullybun authored Feb 26, 2024
1 parent 334ec10 commit 6e3d25b
Show file tree
Hide file tree
Showing 138 changed files with 1,014 additions and 485 deletions.
43 changes: 36 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
My_Hr_ConnectionStrings__Database: Data Source=localhost,1433;Initial Catalog=My.Hr;User id=sa;Password=sAPWD23.^0;TrustServerCertificate=true
MyEf_Hr_ConnectionStrings__Database: Data Source=localhost,1433;Initial Catalog=MyEf.Hr;User id=sa;Password=sAPWD23.^0;TrustServerCertificate=true
Bar_ConnectionStrings__Database: Data Source=localhost,1433;Initial Catalog=Foo.Bar;User id=sa;Password=sAPWD23.^0;TrustServerCertificate=true
Baz_ConnectionStrings__Database: Server=localhost;Port=3306;Database=Foo.Baz;Uid=ciuser;Pwd=ciStrong#!Password;AllowUserVariables=true;UseAffectedRows=false;
Bam_ConnectionStrings__Database: Server=localhost;Port=3306;Database=Foo.Bam;Uid=ciuser;Pwd=ciStrong#!Password;AllowUserVariables=true;UseAffectedRows=false;
Bap_ConnectionStrings__Database: Server=localhost;Port=5432;Database=Foo.Bap;User Id=postgres;Pwd=ciStrong#!Password;
Cdr_CosmosConnectionString: ${{ secrets.COSMOS_CONNECTION_STRING }}

services:
Expand All @@ -42,11 +43,19 @@ jobs:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: yourStrong#!Password
MYSQL_DATABASE: Foo.Baz
MYSQL_DATABASE: Foo.Bam
MYSQL_USER: ciuser
MYSQL_PASSWORD: ciStrong#!Password
options: --name mysql

postgres:
image: postgres:latest
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: ciStrong#!Password
options: --name postgres

steps:
- uses: actions/checkout@v4

Expand All @@ -66,6 +75,7 @@ jobs:
dotnet restore ./tools/Beef.Database.Core
dotnet restore ./tools/Beef.Database.SqlServer
dotnet restore ./tools/Beef.Database.MySql
dotnet restore ./tools/Beef.Database.Postgres
dotnet restore ./tools/Beef.Test.NUnit
dotnet restore ./templates/Beef.Template.Solution
Expand All @@ -75,6 +85,7 @@ jobs:
dotnet build ./tools/Beef.Database.Core --no-restore
dotnet build ./tools/Beef.Database.SqlServer --no-restore
dotnet build ./tools/Beef.Database.MySql --no-restore
dotnet build ./tools/Beef.Database.Postgres --no-restore
dotnet build ./tools/Beef.Test.NUnit --no-restore
dotnet build ./templates/Beef.Template.Solution --no-restore
Expand All @@ -85,6 +96,7 @@ jobs:
dotnet pack ./tools/Beef.Database.Core --output ./packages --configuration Debug --no-build
dotnet pack ./tools/Beef.Database.SqlServer --output ./packages --configuration Debug --no-build
dotnet pack ./tools/Beef.Database.MySql --output ./packages --configuration Debug --no-build
dotnet pack ./tools/Beef.Database.Postgres --output ./packages --configuration Debug --no-build
dotnet pack ./tools/Beef.Test.NUnit --output ./packages --configuration Debug --no-build
dotnet pack ./templates/Beef.Template.Solution --output ./packages --configuration Debug --no-build
dotnet new nugetconfig
Expand Down Expand Up @@ -254,18 +266,35 @@ jobs:
# Template - MySQL with Entity Framework

- name: Template/MySQL/Ef create
run: dotnet new beef --company Foo.My --appname Baz --datasource MySQL --output Foo.My.Baz
run: dotnet new beef --company Foo.My --appname Bam --datasource MySQL --output Foo.My.Bam

- name: Template/MySQL/Ef database
working-directory: ./Foo.My.Baz/Foo.My.Baz.Database
run: dotnet run dropandall --connection-varname Baz_ConnectionStrings__Database --accept-prompts
working-directory: ./Foo.My.Bam/Foo.My.Bam.Database
run: dotnet run dropandall --connection-varname Bam_ConnectionStrings__Database --accept-prompts

- name: Template/MySQL/Ef code-gen
working-directory: ./Foo.My.Baz/Foo.My.Baz.CodeGen
working-directory: ./Foo.My.Bam/Foo.My.Bam.CodeGen
run: dotnet run all

- name: Template/MySQL/Ef test
working-directory: ./Foo.My.Baz
working-directory: ./Foo.My.Bam
run: dotnet test

# Template - Postgres with Entity Framework

- name: Template/Postgres/Ef create
run: dotnet new beef --company Foo.Ps --appname Bap --datasource Postgres --output Foo.Ps.Bap

- name: Template/Postgres/Ef database
working-directory: ./Foo.Ps.Bap/Foo.Ps.Bap.Database
run: dotnet run dropandall --connection-varname Bap_ConnectionStrings__Database --accept-prompts

- name: Template/Postgres/Ef code-gen
working-directory: ./Foo.Ps.Bap/Foo.Ps.Bap.CodeGen
run: dotnet run all

- name: Template/Postgres/Ef test
working-directory: ./Foo.Ps.Bap
run: dotnet test

# Template - HttpAgent
Expand Down
7 changes: 7 additions & 0 deletions Beef.sln
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MyEf.Hr.Security.Subscripti
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MyEf.Hr.Security.Test", "samples\MyEf.Hr\MyEf.Hr.Security.Test\MyEf.Hr.Security.Test.csproj", "{7AE6E1D4-8621-4FC5-8A1F-448FA70DB257}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Beef.Database.Postgres", "tools\Beef.Database.Postgres\Beef.Database.Postgres.csproj", "{1FC9C576-99C9-44B2-AD86-9B8A0C76D79E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -339,6 +341,10 @@ Global
{7AE6E1D4-8621-4FC5-8A1F-448FA70DB257}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AE6E1D4-8621-4FC5-8A1F-448FA70DB257}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AE6E1D4-8621-4FC5-8A1F-448FA70DB257}.Release|Any CPU.Build.0 = Release|Any CPU
{1FC9C576-99C9-44B2-AD86-9B8A0C76D79E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1FC9C576-99C9-44B2-AD86-9B8A0C76D79E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1FC9C576-99C9-44B2-AD86-9B8A0C76D79E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1FC9C576-99C9-44B2-AD86-9B8A0C76D79E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -393,6 +399,7 @@ Global
{D9DF805A-DD48-4036-B383-F1BC895C317C} = {5FC1E59C-A8C9-4CD7-9DAB-344E877BE8EC}
{EB2AD65F-BE16-4334-BFBE-719A88D118D7} = {D9DF805A-DD48-4036-B383-F1BC895C317C}
{7AE6E1D4-8621-4FC5-8A1F-448FA70DB257} = {D9DF805A-DD48-4036-B383-F1BC895C317C}
{1FC9C576-99C9-44B2-AD86-9B8A0C76D79E} = {2733948C-DAB3-45B6-BE60-64BA3A5289F5}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {42D71086-61E6-4D31-B4B8-BFC8CC471428}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

Represents the **NuGet** versions.

## v5.10.0
- *Enhancement:* Added [PostgreSQL](https://www.postgresql.org/) database support:
- Leverages both `CoreEx.Database.Postgres` (runtime) and `DbEx.Postgres` (migration) packages; encapsulates the `Npgsql` package.
- The `Npgsql.EntityFrameworkCore.PostgreSQL` packages is used for the entity framework provider.
- The `dotnet new beef` template updated to support new `datasource` option of `postgres`.
- *Enhancement:* Additional improvements for data migration and code-generation, including `SqlServer` and `MySql`, as a result of `DbEx` (`v2.5.0`) enhancements.

## v5.9.1
- *Fixed:* Simplified YAML specification where _only_ a custom manager is required to be implemented. For an `operation` set `type: CustomManagerOnly`, this is a shorthand for `type: Custom, managerCustom: true, excludeIDataSvc: true, excludeDataSvc: true, excludeIData: true, excludeData: true` (i.e. these other properties will no longer need to be set explicitly).

Expand Down
2 changes: 1 addition & 1 deletion Common.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>5.9.1</Version>
<Version>5.10.0</Version>
<LangVersion>preview</LangVersion>
<Authors>Avanade</Authors>
<Company>Avanade</Company>
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ The key concepts are as follows:
- **Channel-agnostic** - the APIs are based around the key entities and the operations that can be performed on them:
- APIs represent the key trust boundary; as such, they make no assumptions on the consumer. The APIs will always validate the request data, and house the application’s functional business and orchestration rules.
- APIs should not be developed to service a specific user interface interaction; as the APIs are agnostic to the consumer. The consumer has the responsibility of coordinating across API calls.

- **Domain-based** – the APIs are based around, and encapsulate, the capabilities for a functional domain:
- Outcome of a [Domain-Driven Design](https://en.wikipedia.org/wiki/Domain-driven_design); divides capapabilities into different [Bounded Contexts](https://www.martinfowler.com/bliki/BoundedContext.html).
- Encourages micro vs monolithic services.
Expand Down Expand Up @@ -167,8 +168,9 @@ Assembly | Description | NuGet
-|-|-
[`Beef.CodeGen.Core`](./tools/Beef.CodeGen.Core) | Code generation console tool. | [![NuGet version](https://badge.fury.io/nu/Beef.CodeGen.Core.svg)](https://badge.fury.io/nu/Beef.CodeGen.Core)
[`Beef.Database.Core`](./tools/Beef.Database.Core) | Database and data management console tool. | [![NuGet version](https://badge.fury.io/nu/Beef.Database.Core.svg)](https://badge.fury.io/nu/Beef.Database.Core)
[`Beef.Database.SqlServer`](./tools/Beef.Database.SqlServer) | SQL Server database and data management console tool. | [![NuGet version](https://badge.fury.io/nu/Beef.Database.SqlServer.svg)](https://badge.fury.io/nu/Beef.Database.SqlServer)
[`Beef.Database.MySql`](./tools/Beef.Database.MySql) | MySQL database and data management console tool. | [![NuGet version](https://badge.fury.io/nu/Beef.Database.MySql.svg)](https://badge.fury.io/nu/Beef.Database.MySql)
[`Beef.Database.Postgres`](./tools/Beef.Database.Postgres) | PostgreSQL database and data management console tool. | [![NuGet version](https://badge.fury.io/nu/Beef.Database.Postgres.svg)](https://badge.fury.io/nu/Beef.Database.Postgres)
[`Beef.Database.SqlServer`](./tools/Beef.Database.SqlServer) | SQL Server database and data management console tool. | [![NuGet version](https://badge.fury.io/nu/Beef.Database.SqlServer.svg)](https://badge.fury.io/nu/Beef.Database.SqlServer)
[`Beef.Template.Solution`](./templates/Beef.Template.Solution) | Solution and projects template. | [![NuGet version](https://badge.fury.io/nu/Beef.Template.Solution.svg)](https://badge.fury.io/nu/Beef.Template.Solution)

The following is provided to support a level of version 4.x backwards compatibility.
Expand Down Expand Up @@ -241,6 +243,8 @@ The following are references to additional documentation (these are all accessib
- Execute - [YAML/JSON](./docs/Database-Execute-Config.md)
- Relationship (EF) - [YAML/JSON](./docs/Database-Relationship-Config.md)

<br/>

### External links of potential interest

- Versioning - [article](https://mathieu.fenniak.net/aint-nobody-got-time-for-that-api-versioning/), [implementation](https://github.com/dotnet/aspnet-api-versioning) - _Beef_ has no specific support or opinion with respect to versioning approach and/or implementation.
Expand Down
10 changes: 10 additions & 0 deletions docs/Database-CodeGeneration-Config.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The `CodeGeneration` object supports a number of properties that control the gen
Category | Description
-|-
[`Infer`](#Infer) | Provides the _special Column Name inference_ configuration.
[`Columns`](#Columns) | Provides the _Columns_ configuration.
[`Path`](#Path) | Provides the _Path (Directory)_ configuration for the generated artefacts.
[`DotNet`](#DotNet) | Provides the _.NET_ configuration.
[`EntityFramework`](#EntityFramework) | Provides the _Entity Framework (EF) model_ configuration.
Expand Down Expand Up @@ -43,6 +44,15 @@ Property | Description

<br/>

## Columns
Provides the _Columns_ configuration.

Property | Description
-|-
`aliasColumns` | The list of `Column` and `Alias` pairs (split by a `^` lookup character) to enable column aliasing/renaming.<br/>&dagger; Each alias value should be formatted as `Column` + `^` + `Alias`; e.g. `PCODE^ProductCode`.

<br/>

## Path
Provides the _Path (Directory)_ configuration for the generated artefacts.

Expand Down
1 change: 1 addition & 0 deletions nuget-publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ param(
"tools\Beef.CodeGen.Core",
"tools\Beef.Database.Core",
"tools\Beef.Database.MySql",
"tools\Beef.Database.Postgres",
"tools\Beef.Database.SqlServer",
"tools\Beef.Test.NUnit",
"templates\Beef.Template.Solution")
Expand Down
2 changes: 1 addition & 1 deletion samples/Cdr.Banking/Cdr.Banking.Api/Cdr.Banking.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CoreEx.AspNetCore" Version="3.9.0" />
<PackageReference Include="CoreEx.AspNetCore" Version="3.12.0" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.5.0" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<Folder Include="DataSvc\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CoreEx.AspNetCore" Version="3.9.0" />
<PackageReference Include="CoreEx.Cosmos" Version="3.9.0" />
<PackageReference Include="CoreEx.Validation" Version="3.9.0" />
<PackageReference Include="CoreEx.AspNetCore" Version="3.12.0" />
<PackageReference Include="CoreEx.Cosmos" Version="3.12.0" />
<PackageReference Include="CoreEx.Validation" Version="3.12.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<Folder Include="Entities\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CoreEx" Version="3.9.0" />
<PackageReference Include="CoreEx" Version="3.12.0" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions samples/Cdr.Banking/Cdr.Banking.Test/Cdr.Banking.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit.Analyzers" Version="3.10.0">
<PackageReference Include="NUnit.Analyzers" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="CoreEx.UnitTesting.NUnit" Version="3.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="CoreEx.UnitTesting.NUnit" Version="3.12.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/Demo/Beef.Demo.Api/Beef.Demo.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CoreEx.AspNetCore" Version="3.9.0" />
<PackageReference Include="CoreEx.AspNetCore" Version="3.12.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.5.0" />
</ItemGroup>
Expand Down
16 changes: 8 additions & 8 deletions samples/Demo/Beef.Demo.Business/Beef.Demo.Business.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx" Version="3.9.0" />
<PackageReference Include="CoreEx.AspNetCore" Version="3.9.0" />
<PackageReference Include="CoreEx.Cosmos" Version="3.9.0" />
<PackageReference Include="CoreEx.Database" Version="3.9.0" />
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.9.0" />
<PackageReference Include="CoreEx.EntityFrameworkCore" Version="3.9.0" />
<PackageReference Include="CoreEx.Validation" Version="3.9.0" />
<PackageReference Include="CoreEx.FluentValidation" Version="3.9.0" />
<PackageReference Include="CoreEx" Version="3.12.0" />
<PackageReference Include="CoreEx.AspNetCore" Version="3.12.0" />
<PackageReference Include="CoreEx.Cosmos" Version="3.12.0" />
<PackageReference Include="CoreEx.Database" Version="3.12.0" />
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.12.0" />
<PackageReference Include="CoreEx.EntityFrameworkCore" Version="3.12.0" />
<PackageReference Include="CoreEx.Validation" Version="3.12.0" />
<PackageReference Include="CoreEx.FluentValidation" Version="3.12.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.20" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Beef.Demo.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Demo].[Contact]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Demo].[Contact].
/// </summary>
public partial class Contact : ILogicallyDeleted
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Beef.Demo.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Ref].[EyeColor]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Ref].[EyeColor].
/// </summary>
public partial class EyeColor
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Beef.Demo.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Ref].[Gender]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Ref].[Gender].
/// </summary>
public partial class Gender
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Beef.Demo.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Demo].[Person]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Demo].[Person].
/// </summary>
public partial class Person
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Beef.Demo.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Ref].[Status]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Ref].[Status].
/// </summary>
public partial class Status
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Beef.Demo.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Test].[Table]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Test].[Table].
/// </summary>
public partial class Table : ILogicallyDeleted, ITenantId
{
Expand Down
4 changes: 2 additions & 2 deletions samples/Demo/Beef.Demo.Common/Beef.Demo.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<Folder Include="Agents\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CoreEx" Version="3.9.0" />
<PackageReference Include="Grpc.Tools" Version="2.60.0">
<PackageReference Include="CoreEx" Version="3.12.0" />
<PackageReference Include="Grpc.Tools" Version="2.61.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
8 changes: 4 additions & 4 deletions samples/Demo/Beef.Demo.Test/Beef.Demo.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.UnitTesting" Version="3.9.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.10.0">
<PackageReference Include="CoreEx.UnitTesting" Version="3.12.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="UnitTestEx.NUnit" Version="4.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="UnitTestEx.NUnit" Version="4.1.2" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/My.Hr/My.Hr.Api/My.Hr.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CoreEx.AspNetCore" Version="3.9.0" />
<PackageReference Include="CoreEx.AspNetCore" Version="3.12.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.5.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace My.Hr.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Hr].[Employee]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Hr].[Employee].
/// </summary>
public partial class Employee
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace My.Hr.Business.Data.EfModel;

/// <summary>
/// Represents the Entity Framework (EF) model for database object '[Hr].[Gender]'.
/// Represents the Entity Framework (EF) model for SqlServer database object [Hr].[Gender].
/// </summary>
public partial class Gender
{
Expand Down
Loading

0 comments on commit 6e3d25b

Please sign in to comment.