Rystem.RepositoryFramework.Infrastructure.EntityFramework
6.0.12
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.Infrastructure.EntityFramework --version 6.0.12
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.EntityFramework -Version 6.0.12
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rystem.RepositoryFramework.Infrastructure.EntityFramework" Version="6.0.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.RepositoryFramework.Infrastructure.EntityFramework --version 6.0.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rystem.RepositoryFramework.Infrastructure.EntityFramework, 6.0.12"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Rystem.RepositoryFramework.Infrastructure.EntityFramework as a Cake Addin #addin nuget:?package=Rystem.RepositoryFramework.Infrastructure.EntityFramework&version=6.0.12 // Install Rystem.RepositoryFramework.Infrastructure.EntityFramework as a Cake Tool #tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.EntityFramework&version=6.0.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
What is Rystem?
Integration with Entity Framework and Repository Framework
Example from unit test with a business integration too.
services.AddDbContext<SampleContext>(options =>
{
options.UseSqlServer(configuration["ConnectionString:Database"]);
}, ServiceLifetime.Scoped);
services
.AddRepository<MappingUser, int>(builder =>
{
builder.WithEntityFramework<MappingUser, int, User, SampleContext>(
t =>
{
t.DbSet = x => x.Users;
t.References = x => x.Include(x => x.IdGruppos);
});
builder.Translate<User>()
.With(x => x.Username, x => x.Nome)
.With(x => x.Username, x => x.Cognome)
.With(x => x.Email, x => x.IndirizzoElettronico)
.With(x => x.Groups, x => x.IdGruppos)
.With(x => x.Id, x => x.Identificativo)
.WithKey(x => x, x => x.Identificativo);
builder
.AddBusiness()
.AddBusinessBeforeInsert<MappingUserBeforeInsertBusiness>()
.AddBusinessBeforeInsert<MappingUserBeforeInsertBusiness2>();
});
You found the IRepository<MappingUser, int> in DI to play with it.
Automated api with Rystem.RepositoryFramework.Api.Server package
With automated api, you may have the api implemented with your dataverse integration. You need only to add the AddApiFromRepositoryFramework and UseApiForRepositoryFramework
builder.Services.AddApiFromRepositoryFramework()
.WithDescriptiveName("Repository Api")
.WithPath(Path)
.WithSwagger()
.WithVersion(Version)
.WithDocumentation()
.WithDefaultCors("http://example.com");
var app = builder.Build();
app.UseApiFromRepositoryFramework()
.WithNoAuthorization();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.5)
- Rystem.RepositoryFramework.Abstractions (>= 6.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 34,976 | 11/16/2024 |
9.0.0-rc.1 | 74 | 10/18/2024 |
6.2.0 | 218,989 | 10/9/2024 |
6.1.1 | 94 | 10/9/2024 |
6.1.0 | 47,835 | 9/29/2024 |
6.0.24 | 114 | 9/11/2024 |
6.0.23 | 109 | 7/18/2024 |
6.0.21 | 113 | 6/18/2024 |
6.0.20 | 100 | 6/16/2024 |
6.0.19 | 302 | 6/14/2024 |
6.0.18 | 102 | 6/14/2024 |
6.0.17 | 115 | 6/14/2024 |
6.0.16 | 98 | 6/10/2024 |
6.0.15 | 101 | 6/9/2024 |
6.0.14 | 118 | 5/24/2024 |
6.0.13 | 111 | 5/23/2024 |
6.0.12 | 116 | 5/23/2024 |
6.0.11 | 106 | 5/20/2024 |
6.0.9 | 114 | 5/20/2024 |
6.0.7 | 115 | 5/18/2024 |
6.0.6 | 106 | 5/10/2024 |
6.0.5 | 102 | 5/10/2024 |
6.0.4 | 131 | 4/3/2024 |
6.0.3 | 145 | 3/25/2024 |
6.0.2 | 194 | 3/11/2024 |
6.0.0 | 541 | 11/21/2023 |
6.0.0-rc.6 | 93 | 10/25/2023 |
6.0.0-rc.5 | 84 | 10/25/2023 |
6.0.0-rc.4 | 75 | 10/23/2023 |
6.0.0-rc.3 | 66 | 10/19/2023 |
6.0.0-rc.2 | 75 | 10/18/2023 |
6.0.0-rc.1 | 77 | 10/16/2023 |
5.0.20 | 565 | 9/25/2023 |
5.0.19 | 561 | 9/10/2023 |
5.0.18 | 546 | 9/6/2023 |
5.0.17 | 589 | 9/6/2023 |
5.0.16 | 578 | 9/5/2023 |
5.0.15 | 511 | 9/5/2023 |
5.0.14 | 572 | 9/5/2023 |
5.0.13 | 519 | 9/1/2023 |
5.0.12 | 561 | 8/31/2023 |
5.0.11 | 525 | 8/30/2023 |
5.0.10 | 564 | 8/29/2023 |
5.0.9 | 578 | 8/24/2023 |
5.0.8 | 533 | 8/24/2023 |
5.0.7 | 565 | 8/23/2023 |
5.0.6 | 582 | 8/21/2023 |
5.0.5 | 588 | 8/21/2023 |
5.0.4 | 602 | 8/16/2023 |
5.0.3 | 736 | 8/2/2023 |
5.0.2 | 685 | 8/2/2023 |
5.0.1 | 703 | 8/1/2023 |
5.0.0 | 739 | 7/31/2023 |
4.1.26 | 745 | 7/20/2023 |
4.1.25 | 703 | 7/16/2023 |
4.1.24 | 698 | 6/13/2023 |
4.1.23 | 714 | 6/13/2023 |
4.1.22 | 1,124 | 5/30/2023 |
4.1.21 | 683 | 5/20/2023 |
4.1.20 | 315,688 | 4/19/2023 |
4.1.19 | 95,580 | 3/20/2023 |
4.1.18 | 762 | 3/20/2023 |
4.1.17 | 774 | 3/16/2023 |
4.1.16 | 812 | 3/16/2023 |
4.1.15 | 767 | 3/15/2023 |
4.1.14 | 1,388 | 3/9/2023 |
4.1.13 | 834 | 3/7/2023 |
4.1.12 | 887 | 2/10/2023 |
4.1.11 | 849 | 1/26/2023 |
4.1.10 | 882 | 1/22/2023 |
4.1.9 | 818 | 1/20/2023 |
4.1.8 | 870 | 1/18/2023 |
4.1.7 | 839 | 1/18/2023 |
4.1.6 | 845 | 1/17/2023 |
4.1.1 | 896 | 1/4/2023 |
4.1.0 | 876 | 1/1/2023 |
3.1.5 | 880 | 12/21/2022 |
3.1.3 | 857 | 12/12/2022 |
3.1.2 | 885 | 12/7/2022 |
3.1.1 | 854 | 12/7/2022 |
3.1.0 | 906 | 12/2/2022 |
3.0.29 | 899 | 12/1/2022 |
3.0.28 | 873 | 12/1/2022 |
3.0.27 | 854 | 11/23/2022 |
3.0.25 | 885 | 11/23/2022 |
3.0.24 | 889 | 11/18/2022 |
3.0.23 | 869 | 11/18/2022 |
3.0.22 | 910 | 11/15/2022 |
3.0.21 | 917 | 11/14/2022 |
3.0.20 | 932 | 11/13/2022 |
3.0.19 | 1,054 | 11/2/2022 |
3.0.18 | 857 | 11/2/2022 |
3.0.17 | 922 | 10/29/2022 |
3.0.16 | 983 | 10/29/2022 |
3.0.15 | 945 | 10/29/2022 |
3.0.14 | 923 | 10/29/2022 |
3.0.13 | 911 | 10/24/2022 |
3.0.12 | 976 | 10/17/2022 |