Share via


TableValuedFunctionBuilder<TEntity>.HasSchema(String) Method

Definition

Sets the schema of the database function.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<TEntity> HasSchema (string? schema);
override this.HasSchema : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasSchema (schema As String) As TableValuedFunctionBuilder(Of TEntity)

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