Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Of course, you can even in principle not know what will happen at the physical level. Though MongoDB, though a binary file.
public interface IRepository<T>
where T: IEntity
{
T Get(Guid Id);
void Post(T entity);
void Remove(Guid id);
}
public class EFRepository<T>: IRepository<T>
where T: IEntity
{
/*Логика для EF*/
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question