語言

RuntimePropertyBase.SetCurrentValueComparer 方法

定義

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

[System.Diagnostics.DebuggerStepThrough]
public virtual void SetCurrentValueComparer(System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> comparer);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member SetCurrentValueComparer : System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> unit
override this.SetCurrentValueComparer : System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> unit
Public Overridable Sub SetCurrentValueComparer (comparer As IComparer(Of IUpdateEntry))

參數

屬性

適用於