MutablePropertyExtensions.SetAfterSaveBehavior 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public static void SetAfterSaveBehavior(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior? afterSaveBehavior);
static member SetAfterSaveBehavior : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior> -> unit
<Extension()>
Public Sub SetAfterSaveBehavior (property As IMutableProperty, afterSaveBehavior As Nullable(Of PropertySaveBehavior))
參數
- property
- IMutableProperty
屬性。
- afterSaveBehavior
- Nullable<PropertySaveBehavior>
一個表示該屬性在實體儲存到資料庫後是否能被修改的值。