共用方式為


ComplexTypePropertyBuilder<TProperty>.ValueGeneratedOnUpdate 方法

定義

設定屬性以在儲存現有實體時產生值。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> ValueGeneratedOnUpdate ();
override this.ValueGeneratedOnUpdate : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property>
Public Overridable Function ValueGeneratedOnUpdate () As ComplexTypePropertyBuilder(Of TProperty)

傳回

相同的產生器實例,以便鏈結多個組態呼叫。

適用於