共用方式為


IConventionStoredProcedureBuilder.CanSetSchema(String, Boolean) 方法

定義

傳回值,指出是否可以為預存程式設定指定的架構。

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

參數

schema
String

資料庫中預存程式的架構。

fromDataAnnotation
Boolean

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

傳回

true 如果可以針對資料庫函式設定指定的架構,則為 。

適用於