17 lines
422 B
C#
17 lines
422 B
C#
using System;
|
|
using System.Data.Entity;
|
|
using EnVisage.Models;
|
|
|
|
namespace EnVisage.Code.BLL
|
|
{
|
|
public interface IManagerBase<TDALClass, TModel>
|
|
where TDALClass : class, new()
|
|
where TModel : IBaseModel<TDALClass>, new()
|
|
{
|
|
DbSet<TDALClass> DataTable { get; }
|
|
|
|
void Dispose();
|
|
TDALClass Load(Guid? value, bool isReadOnly = true);
|
|
TDALClass Save(TModel model);
|
|
}
|
|
} |