語言

IConventionDbFunction.SetSchema(String, Boolean) 方法

定義

設定函式在資料庫中的結構。

public string? SetSchema(string? schema, bool fromDataAnnotation = false);
public void SetSchema(string schema, bool fromDataAnnotation = false);
public string SetSchema(string schema, bool fromDataAnnotation = false);
abstract member SetSchema : string * bool -> string
abstract member SetSchema : string * bool -> unit
Public Function SetSchema (schema As String, Optional fromDataAnnotation As Boolean = false) As String
Public Sub SetSchema (schema As String, Optional fromDataAnnotation As Boolean = false)

參數

schema
String

資料庫中函式的結構。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

設定值。

適用於