Dela via


IReadOnlyDbFunction Interface

Definition

Represents a relational database function in a model.

public interface IReadOnlyDbFunction : Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable
type IReadOnlyDbFunction = interface
    interface IReadOnlyAnnotatable
Public Interface IReadOnlyDbFunction
Implements IReadOnlyAnnotatable
Derived
Implements

Remarks

See Database functions for more information and examples.

Properties

IsAggregate

Gets the value indicating whether this function is an aggregate function.

IsBuiltIn

Gets the value indicating whether the database function is built-in.

IsNullable

Gets the value indicating whether the database function can return null.

IsScalar

Gets the value indicating whether this function returns scalar value.

Item[String]

Gets the value of the annotation with the given name, returning null if it does not exist.

(Inherited from IReadOnlyAnnotatable)
MethodInfo

Gets the CLR method which maps to the function in the database.

Model

Gets the model in which this function is defined.

ModelName

Gets the name of the function in the model.

Name

Gets the name of the function in the database.

Parameters

Gets the parameters for this function.

ReturnType

Gets the returned CLR type.

Schema

Gets the schema of the function in the database.

StoreType

Gets the configured store type string.

Translation

Gets the translation callback for performing custom translation of the method call into a SQL expression fragment.

TypeMapping

Gets the type mapping for the function's return type.

Methods

AnnotationsToDebugString(Int32)

Gets the debug string for all annotations declared on the object.

(Inherited from IReadOnlyAnnotatable)
FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from IReadOnlyAnnotatable)
GetAnnotation(String)

Gets the annotation with the given name, throwing if it does not exist.

(Inherited from IReadOnlyAnnotatable)
GetAnnotations()

Gets all annotations on the current object.

(Inherited from IReadOnlyAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

Applies to