An open API service indexing awesome lists of open source software.

https://github.com/godeltech/godeltech.microservices.data.entityframeworkcore

Microservice initializer for GodelTech.Data.EntityFrameworkCore
https://github.com/godeltech/godeltech.microservices.data.entityframeworkcore

Last synced: 25 days ago
JSON representation

Microservice initializer for GodelTech.Data.EntityFrameworkCore

Awesome Lists containing this project

README

        

# GodelTech.Microservices.Data.EntityFrameworkCore
Microservice initializer for [GodelTech.Data.EntityFrameworkCore](https://github.com/GodelTech/GodelTech.Data.EntityFrameworkCore)

For Repository with Unit of Work use:
```c#
yield return new DataInitializer(
Configuration,
_hostingEnvironment,
options => Configuration.Bind("DataInitializerOptions", options)
)
.WithRepository, Repository, BankEntity, Guid>()
.WithRepository();
```

For simple Repository (repository without Unit of Work) use:
```c#
yield return new SimpleDataInitializer(
Configuration,
_hostingEnvironment,
options => Configuration.Bind("DataInitializerOptions", options)
)
.WithRepository();
```