PropertyConstraintException.PropertyName Property

 

Gets the name of the property that violated the constraint.

Namespace:   System.Data.Entity.Core
Assembly:  EntityFramework (in EntityFramework.dll)

public string PropertyName { get; }

Property Value

Type: System.String

The name of the property that violated the constraint.