Table of Contents

Class TableValuedFunctionBuilder

Namespace
Microsoft.EntityFrameworkCore.Metadata.Builders
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Provides a simple API for configuring a IMutableDbFunction.

public class TableValuedFunctionBuilder : DbFunctionBuilderBase, IInfrastructure<IConventionDbFunctionBuilder>
Inheritance
TableValuedFunctionBuilder
Implements
Inherited Members

Constructors

TableValuedFunctionBuilder(IMutableDbFunction)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public TableValuedFunctionBuilder(IMutableDbFunction function)

Parameters

function IMutableDbFunction

Methods

HasName(string)

Sets the name of the database function.

public virtual TableValuedFunctionBuilder HasName(string name)

Parameters

name string

The name of the function in the database.

Returns

TableValuedFunctionBuilder

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

HasSchema(string)

Sets the schema of the database function.

public virtual TableValuedFunctionBuilder HasSchema(string schema)

Parameters

schema string

The schema of the function in the database.

Returns

TableValuedFunctionBuilder

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