DbFunctionParameterBuilder Class

Definition

Provides a simple API for configuring a Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunctionParameter.

public class DbFunctionParameterBuilder : Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder
public class DbFunctionParameterBuilder : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionParameterBuilder>
type DbFunctionParameterBuilder = class
    interface IConventionDbFunctionParameterBuilder
type DbFunctionParameterBuilder = class
    interface IInfrastructure<IConventionDbFunctionParameterBuilder>
Public Class DbFunctionParameterBuilder
Implements IConventionDbFunctionParameterBuilder
Public Class DbFunctionParameterBuilder
Implements IInfrastructure(Of IConventionDbFunctionParameterBuilder)
Inheritance
DbFunctionParameterBuilder
Implements

Remarks

Instances of this class are returned from methods when using the ModelBuilder API and it is not designed to be directly constructed in your application code.

Constructors

DbFunctionParameterBuilder(IMutableDbFunctionParameter)

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

Metadata

The function parameter metadata that is being built.

Methods

HasStoreType(String)

Sets the store type of the function parameter in the database.

PropagatesNullability(Boolean)

Indicates whether parameter propagates nullability, meaning if it's value is null the database function itself returns null.

Explicit Interface Implementations

IConventionDbFunctionParameterBuilder.CanSetStoreType(String, Boolean)

Returns a value indicating whether the store type can be set for this property from the current configuration source.

IConventionDbFunctionParameterBuilder.CanSetTypeMapping(RelationalTypeMapping, Boolean)

Returns a value indicating whether RelationalTypeMapping can be set for this property from the current configuration source.

IConventionDbFunctionParameterBuilder.HasStoreType(String, Boolean)

Sets the store type of the function parameter in the database.

IConventionDbFunctionParameterBuilder.HasTypeMapping(RelationalTypeMapping, Boolean)

Sets the RelationalTypeMapping of the function parameter.

IConventionDbFunctionParameterBuilder.Metadata

The function parameter metadata that is being built.

IInfrastructure<IConventionDbFunctionParameterBuilder>.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