Share via


IConventionStoredProcedure.SetSchema(String, Boolean) Method

Definition

Sets the schema of the stored procedure in the database.

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

Parameters

schema
String

The schema of the stored procedure in the database.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to