コード例 #1
0
ファイル: BaseEntity.cs プロジェクト: netintellect/EF7App
        public bool IsPartOfCompositeAggregations(PropertyInfo propertyInfo)
        {
            if (propertyInfo == null)
            {
                return(false);
            }
            if (CompositeAggregations == null)
            {
                return(false);
            }

            return
                (CompositeAggregations.Any(item => item.PropertyType.FullName.Equals(propertyInfo.PropertyType.FullName)));
        }