SqlServerDbFunctionConvention 類別

定義

確保已針對已將 旗標設定 false 為 的資料庫函 IsBuiltIn 式填入的慣例 Schema

C#
public class SqlServerDbFunctionConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
繼承
SqlServerDbFunctionConvention
實作

備註

如需詳細資訊和範例,請參閱使用 EF Core建立模型慣例存取SQL Server和Azure SQL資料庫

建構函式

屬性

Dependencies

此服務的相依性。

RelationalDependencies

此服務的關聯式提供者特定相依性。

方法

適用於

產品 版本
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0