ObjectStateEntry.SetModifiedProperty Method (String)
Marks the specified property as modified.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- propertyName
-
Type:
System.String
The name of the property.
Exception | Condition |
---|---|
InvalidOperationException | If State is not Modified or Unchanged |