Esempio n. 1
0
        public DynamicPropertyDictionaryItemEntity[] GetDynamicPropertyDictionaryItems(string propertyId)
        {
            var retVal = DynamicPropertyDictionaryItems.Include(i => i.DisplayNames)
                         .Where(i => i.PropertyId == propertyId)
                         .ToArray();

            return(retVal);
        }
        public virtual async Task <DynamicPropertyDictionaryItemEntity[]> GetDynamicPropertyDictionaryItemByIdsAsync(string[] ids)
        {
            var retVal = await DynamicPropertyDictionaryItems.Include(x => x.DisplayNames)
                         .Where(x => ids.Contains(x.Id))
                         .ToArrayAsync();

            return(retVal);
        }