Composite.Data.DynamicTypes.DataTypeDescriptorFormsHelper.IsNullableStringReference C# (CSharp) Méthode

IsNullableStringReference() private static méthode

private static IsNullableStringReference ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
Résultat bool
        private static bool IsNullableStringReference(PropertyInfo propertyInfo)
        {
            var dataType = propertyInfo.DeclaringType;
            return DataAttributeFacade.GetDataReferenceProperties(dataType)
                                      .Any(foreignKey => foreignKey.SourcePropertyName == propertyInfo.Name && foreignKey.IsNullableString);
        }