Share via


DbFunctionBuilder.IConventionDbFunctionBuilder.CanSetSchema Method

Definition

Returns a value indicating whether the given schema can be set for the database function.

bool IConventionDbFunctionBuilder.CanSetSchema (string schema, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder.CanSetSchema : string * bool -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder.CanSetSchema : string * bool -> bool
Function CanSetSchema (schema As String, fromDataAnnotation As Boolean) As Boolean Implements IConventionDbFunctionBuilder.CanSetSchema

Parameters

schema
String

The schema of the function in the database.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given schema can be set for the database function.

Implements

Applies to