EF.Functions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 CLR 方法,當用於 LINQ 到 Entities 查詢時,這些方法會被轉換成資料庫函式。 在其他情境中呼叫這些方法(例如 LINQ 對物件)會拋出 NotSupportedException。
[System.Runtime.CompilerServices.Nullable(1)]
public static Microsoft.EntityFrameworkCore.DbFunctions Functions { get; }
public static Microsoft.EntityFrameworkCore.DbFunctions Functions { get; }
[<System.Runtime.CompilerServices.Nullable(1)>]
static member Functions : Microsoft.EntityFrameworkCore.DbFunctions
static member Functions : Microsoft.EntityFrameworkCore.DbFunctions
Public Shared ReadOnly Property Functions As DbFunctions
屬性值
- 屬性
備註
請注意,這是一個靜態屬性,透過頂層 EF 靜態型別存取。
更多資訊與範例請參見 資料庫函數 。