try another way to implement the data stucture
This commit is contained in:
13
UserService.DatabaseLayer/Repositories/BaseRepository.cs
Normal file
13
UserService.DatabaseLayer/Repositories/BaseRepository.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using LinqToDB.Data;
|
||||
using UserService.DatabaseLayer.DataModels;
|
||||
|
||||
namespace UserService.DatabaseLayer.Repositories
|
||||
{
|
||||
public abstract class BaseRepository
|
||||
{
|
||||
protected BaseRepository()
|
||||
{
|
||||
DataConnection.DefaultSettings = new UserDbSettings();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user