共用方式為


IConventionDbFunction.SetSchema(String, Boolean) 方法

定義

設定資料庫中函式的架構。

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

參數

schema
String

資料庫中函式的架構。

fromDataAnnotation
Boolean

指出是否已使用資料批註指定組態。

傳回

已設定的值。

適用於