Skip to content

Commit

Permalink
Merge pull request #23 from furkandeveloper/feature/framework-upgrade
Browse files Browse the repository at this point in the history
⬆️ [UPGRADE] Target framework has been upgraded
  • Loading branch information
furkandeveloper authored Dec 17, 2022
2 parents 9d00125 + 82bd44c commit a35e2cd
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 15 deletions.
2 changes: 2 additions & 0 deletions EasyRepository.EFCore.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=implemented/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
10 changes: 6 additions & 4 deletions common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@
<Title>Generic Repository Pattern For Entity Framework Core</Title>
<RepositoryType>Git</RepositoryType>
<NeutralLanguage>en-US</NeutralLanguage>
<TargetFrameworks>net6.0</TargetFrameworks>
<Version>2.0.0</Version>
<TargetFramework>net7.0</TargetFramework>
<Version>3.0.0</Version>
<LangVersion>latest</LangVersion>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<RepositoryUrl>https://github.com/furkandeveloper/EasyRepository.EFCore</RepositoryUrl>
<Authors>furkandeveloper</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<Description></Description>
<Description>
This repository provides generic repository pattern with Entity Framework Core
</Description>
<PackageTags>dotnet, efcore, repository-pattern, generic-repository, generic-repository-pattern</PackageTags>
<PackageReleaseNotes>

Upgrade target framework from dotnet6 to dotnet7
</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions sample/EasyRepository.Sample/EasyRepository.Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoFilterer.Swagger" Version="2.12.2" />
<PackageReference Include="AutoFilterer.Swagger" Version="2.13.0" />
<PackageReference Include="AspNetCore.MarkdownDocumenting" Version="2.3.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.9">
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.7" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
20 changes: 15 additions & 5 deletions src/EasyRepository.EFCore.Abstractions/EasyBaseEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,37 @@ namespace EasyRepository.EFCore.Abstractions
public abstract class EasyBaseEntity<TPrimaryKey> : IEasyEntity<TPrimaryKey>, IEasyCreateDateEntity, IEasyUpdateDateEntity, IEasySoftDeleteEntity
{
/// <summary>
/// Creation Date <see cref="{DateTime}"/>
/// Creation Date <see>
/// <cref>{DateTime}</cref>
/// </see>
/// </summary>
public virtual DateTime CreationDate { get; set; }

/// <summary>
/// Primary Key <see cref="{TPrimaryKey}"/>
/// Primary Key <see>
/// <cref>{TPrimaryKey}</cref>
/// </see>
/// </summary>
public virtual TPrimaryKey Id { get; set; }

/// <summary>
/// Modification Date <see cref="{DateTime}"/>
/// Modification Date <see>
/// <cref>{DateTime}</cref>
/// </see>
/// </summary>
public virtual DateTime? ModificationDate { get; set; }

/// <summary>
/// Deletion Date <see cref="{DateTime}"/>
/// Deletion Date <see>
/// <cref>{DateTime}</cref>
/// </see>
/// </summary>
public virtual DateTime? DeletionDate { get; set; }

/// <summary>
/// Is Deleted <see cref="{Boolean}"/>
/// Is Deleted <see>
/// <cref>{Boolean}</cref>
/// </see>
/// </summary>
public virtual bool IsDeleted { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<PackageIconUrl />
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoFilterer" Version="2.12.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.9" />
<PackageReference Include="AutoFilterer" Version="2.13.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<None Include="folders.png">
Expand Down

0 comments on commit a35e2cd

Please sign in to comment.