Share via


ObjectStateEntry.SetModifiedProperty(String) Method

Definition

Marks the specified property as modified.

public abstract void SetModifiedProperty (string propertyName);
abstract member SetModifiedProperty : string -> unit
Public MustOverride Sub SetModifiedProperty (propertyName As String)

Parameters

propertyName
String

The name of the property.

Implements

System.Data.Entity.Core.IEntityStateEntry.SetModifiedProperty(System.String)

Exceptions

If State is not Modified or Unchanged

Applies to