Skip to content

Feature/dotnet update #18

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

Open
wants to merge 8 commits into
base: main
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ dotnet_diagnostic.IDE0160.severity = none
dotnet_diagnostic.IDE0090.severity = none
# IDE0046: Use conditional expression for return
dotnet_diagnostic.IDE0046.severity = none
# IDE0028: Use collection initializers or expressions
dotnet_diagnostic.IDE0028.severity = none
# IDE0290: Use primary constructor
dotnet_diagnostic.IDE0290.severity = none

[*.cs]
csharp_style_namespace_declarations = file_scoped
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# GodelTech.Data.AutoMapper

Library for using AutoMapper with GodelTech.Data.
## Description
GodelTech.Data.AutoMapper is a .NET library that integrates AutoMapper with GodelTech.Data, providing a seamless way to map data entities. It implements the IDataMapper interface from GodelTech.Data using the AutoMapper NuGet package, allowing efficient and straightforward object-to-object mapping.

## Overview
`GodelTech.Data.AutoMapper` implements [GodelTech.Data](https://github.com/GodelTech/GodelTech.Data) `IDataMapper` interface using [AutoMapper](https://www.nuget.org/packages/AutoMapper) NuGet package. It allows to use mapping of `TEntity` to `TModel`.
Expand All @@ -21,3 +22,6 @@ public class DataMapper : IDataMapper
}
}
```

## License
This project is licensed under the MIT License. See the LICENSE file for more details.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PackageId>GodelTech.Data.AutoMapper</PackageId>
<VersionPrefix>3.0.0</VersionPrefix>
<Authors>Vladimir Rodchenko</Authors>
Expand Down Expand Up @@ -43,8 +43,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="GodelTech.Data" Version="8.1.0" />
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="GodelTech.Data" Version="9.0.0" />
<PackageReference Include="AutoMapper" Version="14.0.0" />

<!-- Source Link needs this -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
Expand Down
3 changes: 3 additions & 0 deletions test/GodelTech.Data.AutoMapper.IntegrationTests/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ dotnet_diagnostic.IDE0041.severity = none

# IDE0160: Convert to block-scoped namespace
csharp_style_namespace_declarations = block_scoped

# CA1515: Consider making public types internal
dotnet_diagnostic.CA1515.severity = none
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>

<IsPackable>false</IsPackable>

Expand All @@ -12,14 +12,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PackageReference Include="coverlet.collector" Version="6.0.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PackageReference Include="FluentAssertions" Version="8.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
3 changes: 3 additions & 0 deletions test/GodelTech.Data.AutoMapper.Tests/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ dotnet_diagnostic.CA1707.severity = none

# IDE0160: Convert to block-scoped namespace
csharp_style_namespace_declarations = block_scoped

# CA1515: Consider making public types internal
dotnet_diagnostic.CA1515.severity = none
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>

<IsPackable>false</IsPackable>

Expand All @@ -12,14 +12,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PackageReference Include="coverlet.collector" Version="6.0.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
Loading