Share via


DbFunctionBuilder.HasSchema(String) Method

Definition

Sets the schema of the database function.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder HasSchema (string schema);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder HasSchema (string? schema);
abstract member HasSchema : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
override this.HasSchema : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
override this.HasSchema : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
Public Overridable Function HasSchema (schema As String) As DbFunctionBuilder

Parameters

schema
String

The schema of the function in the database.

Returns

The same builder instance so that multiple configuration calls can be chained.

Remarks

See Database functions for more information and examples.

Applies to