コード例 #1
0
        public DynamicPropertyDictionaryItemEntity[] GetDynamicPropertyDictionaryItems(string propertyId)
        {
            var retVal = DynamicPropertyDictionaryItems.Include(i => i.DisplayNames)
                         .Where(i => i.PropertyId == propertyId)
                         .ToArray();

            return(retVal);
        }
コード例 #2
0
        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);
        }