Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/postgresql #1706

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions src/JoinRpg.Dal.Impl/App.config

This file was deleted.

6 changes: 6 additions & 0 deletions src/JoinRpg.Dal.Impl/DbConsts.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace JoinRpg.Dal.Impl;

public static class DbConsts
{
public const string DefaultConnection = nameof(DefaultConnection);
}
11 changes: 0 additions & 11 deletions src/JoinRpg.Dal.Impl/EntityFrameworkExtensions.cs

This file was deleted.

12 changes: 12 additions & 0 deletions src/JoinRpg.Dal.Impl/IJoinDbContextConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Microsoft.EntityFrameworkCore;

namespace JoinRpg.Dal.Impl;

/// <summary>
Expand All @@ -9,4 +11,14 @@ public interface IJoinDbContextConfiguration
/// Connection String
/// </summary>
string ConnectionString { get; }

/// <summary>
/// Enables <see cref="DbContextOptionsBuilder.EnableDetailedErrors"/>
/// </summary>
bool DetailedErrors { get; }

/// <summary>
/// Enables <see cref="DbContextOptionsBuilder.EnableSensitiveDataLogging"/>
/// </summary>
bool SensitiveLogging { get; }
}
8 changes: 6 additions & 2 deletions src/JoinRpg.Dal.Impl/JoinRpg.Dal.Impl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
<ProjectReference Include="..\JoinRpg.Helpers\JoinRpg.Helpers.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="EntityFramework" Version="6.4.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.4" />
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
<PackageReference Include="LinqKit.EntityFramework" Version="1.2.2" />
<PackageReference Include="LinqKit.Microsoft.EntityFrameworkCore" Version="6.1.2" />
</ItemGroup>
</Project>

This file was deleted.

165 changes: 0 additions & 165 deletions src/JoinRpg.Dal.Impl/Migrations/201507212237267_Initial.cs

This file was deleted.

Loading