DbFunctionAttribute 建構函式

定義

多載

DbFunctionAttribute()

初始化 DbFunctionAttribute 類別的新執行個體。

DbFunctionAttribute(String, String)

初始化 DbFunctionAttribute 類別的新執行個體。

DbFunctionAttribute()

初始化 DbFunctionAttribute 類別的新執行個體。

public DbFunctionAttribute ();
Public Sub New ()

適用於

DbFunctionAttribute(String, String)

初始化 DbFunctionAttribute 類別的新執行個體。

public DbFunctionAttribute (string functionName, string schema = default);
public DbFunctionAttribute (string name, string schema = default);
public DbFunctionAttribute (string name, string? schema = default);
new Microsoft.EntityFrameworkCore.DbFunctionAttribute : string * string -> Microsoft.EntityFrameworkCore.DbFunctionAttribute
new Microsoft.EntityFrameworkCore.DbFunctionAttribute : string * string -> Microsoft.EntityFrameworkCore.DbFunctionAttribute
Public Sub New (functionName As String, Optional schema As String = Nothing)
Public Sub New (name As String, Optional schema As String = Nothing)

參數

functionNamename
String

資料庫中函式的名稱。

schema
String

資料庫中函式的架構。

適用於