IMutableProperty.BeforeSaveBehavior Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene un valore che indica se questa proprietà può essere modificata o meno prima che l'entità venga salvata nel database.
Se Throw, verrà generata un'eccezione se a questa proprietà viene assegnato un valore quando si trova nello Added stato .
Se Ignore, qualsiasi set di valori verrà ignorato quando si trova nello Added stato .
public Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior BeforeSaveBehavior { get; set; }
member this.BeforeSaveBehavior : Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior with get, set
Public Property BeforeSaveBehavior As PropertySaveBehavior