Delen via


TableValuedFunctionBuilder Class

Definition

Provides a simple API for configuring a IMutableDbFunction that an entity type is mapped to.

public class TableValuedFunctionBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase
public class TableValuedFunctionBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder>
type TableValuedFunctionBuilder = class
    inherit DbFunctionBuilderBase
type TableValuedFunctionBuilder = class
    inherit DbFunctionBuilderBase
    interface IInfrastructure<EntityTypeBuilder>
Public Class TableValuedFunctionBuilder
Inherits DbFunctionBuilderBase
Public Class TableValuedFunctionBuilder
Inherits DbFunctionBuilderBase
Implements IInfrastructure(Of EntityTypeBuilder)
Inheritance
TableValuedFunctionBuilder
Derived
Implements

Constructors

TableValuedFunctionBuilder(IMutableDbFunction, EntityTypeBuilder)

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.

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.

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.

(Inherited from DbFunctionBuilderBase)
Metadata

The function being configured.

(Inherited from DbFunctionBuilderBase)

Methods

HasAnnotation(String, Object)

Adds or updates an annotation on the database function. If an annotation with the key specified in annotation already exists, its value will be updated.

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, 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.

(Inherited from DbFunctionBuilderBase)
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.

(Inherited from DbFunctionBuilderBase)
HasSchema(String)

Sets the schema of the database function.

IsBuiltIn(Boolean)

Marks whether the database function is built-in.

IsBuiltIn(Boolean)

Marks whether the database function is built-in.

(Inherited from DbFunctionBuilderBase)

Explicit Interface Implementations

IInfrastructure<EntityTypeBuilder>.Instance
IInfrastructure<IConventionDbFunctionBuilder>.Instance

Gets the value of the property being hidden.

(Inherited from DbFunctionBuilderBase)

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