Example #1
0
        public IEnumerable <T> Get <T>(bool allOrNothing, params HiveId[] ids) where T : TypedEntity
        {
            var performGet = PerformGet <T>(allOrNothing, ids) ?? Enumerable.Empty <T>();

            return(performGet.WhereNotNull().Select(x =>
            {
                x.EntitySchema = Schemas.GetComposite <EntitySchema>(x.EntitySchema.Id);
                return ProviderRepositoryHelper.SetProviderAliasOnId(ProviderMetadata, this.SetRelationProxyLazyLoadDelegate(x));
            }));
        }