private IEnumerable <TResult> LoadEntitiesHelper <TResult>(IEnumerable <Guid> ids, IEnumerable <EntityField> fields, IEnumerable <EntityField> nestedFields) where TResult : IEntity { AssertEntitiesExist(ids); return(entityDataManager.LoadEntities <TResult>(ids, fields, nestedFields)); }
public static IEnumerable <T> GenerateEntityList <T>(IEntityDataManager entityDataManager, IEnumerable <Guid> ids, IEnumerable <EntityField> fields) where T : IEntity { return(entityDataManager.LoadEntities <T>(ids, fields, new EntityField[] {})); }