Förberett för övergång till entity framework
This commit is contained in:
@ -1,5 +1,14 @@
|
||||
namespace Common.Library;
|
||||
//using GreadyPoang.DataLayer;
|
||||
|
||||
namespace Common.Library;
|
||||
public class ViewModelBase : CommonBase
|
||||
{
|
||||
//private readonly LocalDbService _dbService;
|
||||
|
||||
//public ViewModelBase(LocalDbService dbService)
|
||||
//{
|
||||
// _dbService = dbService;
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -6,4 +6,5 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
</Project>
|
||||
|
||||
@ -4,7 +4,7 @@ namespace Common.Library;
|
||||
|
||||
public interface IRepository<TEntity>
|
||||
{
|
||||
ObservableCollection<TEntity> Get();
|
||||
Task<ObservableCollection<TEntity>> Get();
|
||||
TEntity Get(int id);
|
||||
bool Save(TEntity entity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user