Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 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[] {}));
 }