Delen via


DbFunctionBuilderBase.HasSchema(String) Method

Definition

Sets the schema of the database function.

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

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