What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-17 08:25:14
params Expression<Func<T, object>>[] includeProperties
public TEntity GetById(Guid id, params Expression<Func<TEntity, object>>[] includeProperties) { if (id == Guid.Empty) return null; var set = _unitOfWork.CreateSet<TEntity>(); foreach(var includeProperty in in... Add solution -
Other 2021-09-10 18:09:01
how to structure an entity framework data layer class
using Mm.DomainModel; using System; using System.Collections.Generic; using System.Linq.Expressions; namespace Mm.DataAccessLayer { public interface IGenericDataRepository<T> where T : class { &... Add solution