共用方式為


CoreStrings.FullChangeTrackingRequired(Object, Object, Object, Object) 方法

定義

需要完整變更追蹤通知時,實體類型 '{entityType}' 會設定為使用 '{changeTrackingStrategy}' 變更追蹤策略。 使用 'OnModelCreating' 中的 'ModelBuilder.HasChangeTrackingStrategy' 來設定模型中的所有實體類型,以使用 '{fullStrategy}' 或 '{fullPlusStrategy}' 策略。

public static string FullChangeTrackingRequired (object entityType, object changeTrackingStrategy, object fullStrategy, object fullPlusStrategy);
public static string FullChangeTrackingRequired (object? entityType, object? changeTrackingStrategy, object? fullStrategy, object? fullPlusStrategy);
static member FullChangeTrackingRequired : obj * obj * obj * obj -> string
Public Shared Function FullChangeTrackingRequired (entityType As Object, changeTrackingStrategy As Object, fullStrategy As Object, fullPlusStrategy As Object) As String

參數

entityType
Object
changeTrackingStrategy
Object
fullStrategy
Object
fullPlusStrategy
Object

傳回

適用於