DbFunctionBuilderBase Class

Definition

Provides a simple API for configuring a IMutableDbFunction.

public abstract class DbFunctionBuilderBase : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder>
type DbFunctionBuilderBase = class
    interface IInfrastructure<IConventionDbFunctionBuilder>
Public MustInherit Class DbFunctionBuilderBase
Implements IInfrastructure(Of IConventionDbFunctionBuilder)
Inheritance
DbFunctionBuilderBase
Derived
Implements

Remarks

See Database functions for more information and examples.

Constructors

DbFunctionBuilderBase(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.

Properties

Builder

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.

Metadata

The function being configured.

Methods

HasName(String)

Sets the name of the database function.

HasParameter(String, Action<DbFunctionParameterBuilder>)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

HasParameter(String)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

HasSchema(String)

Sets the schema of the database function.

IsBuiltIn(Boolean)

Marks whether the database function is built-in.

Explicit Interface Implementations

IInfrastructure<IConventionDbFunctionBuilder>.Instance

Gets the value of the property being hidden.

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to