src/Inflatable/BaseClasses/MappingBaseClass.cs
/// <summary>
/// Determines whether the mapping contains a property.
/// </summary>
/// <param name="propertyName">Name of the property.</param>
/// <returns><c>true</c> if the mapping contains the specified property; otherwise, <c>false</c>.</returns>
Determines whether the mapping contains a property.
Determines whether the mapping contains a property .
public bool ContainsProperty(string propertyName)
        {
            return IDProperties.Any(x => x.Name == propertyName)
                    || ReferenceProperties.Any(x => x.Name == propertyName)
                    || MapProperties.Any(x => x.Name == propertyName)
                    || ManyToManyProperties.Any(x => x.Name == propertyName)
                    || ManyToOneProperties.Any(x => x.Name == propertyName);
        }
public bool ContainsProperty ( string propertyName ) { return IDProperties . Any ( x => x . Name == propertyName ) || ReferenceProperties . Any ( x => x . Name == propertyName ) || MapProperties . Any ( x => x . Name == propertyName ) || ManyToManyProperties . Any ( x => x . Name == propertyName ) || ManyToOneProperties . Any ( x => x . Name == propertyName ) ; }
Determines whether the mapping contains a property.
Determines whether the mapping contains a property .
None
propertyName
string
Name of the property.
Name of the property .