Key4.MyKey4.Persistence 2.0.3.10-b

key4.MyKey4.Persistence

Service d'acc�s et d'�criture de donn�es pour la couche de persistence.

Configuration

Ajouter la factory � l'injection de d�pendences

Ajouter IRepository<T, D> o� l'on veut acc�der aux donn�es :

services.AddScoped<IRepository<T, D>, BaseRepository<T, D>>();

H�riter de BaseDbContext

public class MyContext : BaseDbContext
{
    public MyContext(DbContextOptions<MyContext> options) : base(options)
    {
    }

    protected MyContext(DbContextOptions options) : base(options)
    {
    }

    public MyContext(DbContextOptions<MyContext> options, IMediator mediator) : base(options, mediator)
    {
    }

    protected MyContext(DbContextOptions options, IMediator mediator) : base(options, mediator)
    {
    }
}

Showing the top 20 packages that depend on Key4.MyKey4.Persistence.

Packages Downloads
key4.Comments
Key4 Comments.
12
key4.Comments
Key4 Comments.
68
key4.Comments
Key4 Comments.
83
key4.Comments
Key4 Comments NuGet.
12
key4.Comments
Key4 Comments NuGet.
13
key4.Comments
Key4 Comments NuGet.
14
key4.Domain.CustomFields
Domain of the CustomField microservice.
12
key4.Domain.CustomFields
Domain of the CustomField microservice.
13
key4.History
Key4 History.
12
Key4.MyKey4.Genericity.Application
Service contenant les méthodes par défaut d'accès et d'écriture de données pour la couche de persistence.
17

.NET 6.0

Version Downloads Last updated
2.1.0.11-b 190 12/08/2022
2.0.3.10-b 14 12/08/2022
2.0.2.9-b 10 12/08/2022
2.0.1.8-b 13 12/08/2022
2.0.0.6-b 12 12/08/2022
1.1.0.5-b 12 12/08/2022
1.0.6.4-b 9 12/08/2022
1.0.5.3-b 11 12/08/2022