DbFunctionBuilder.IConventionDbFunctionBuilder.CanSetTypeMapping Method

Definition

Returns a value indicating whether the given return type mapping can be set for the database function.

bool IConventionDbFunctionBuilder.CanSetTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping returnTypeMapping, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder.CanSetTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder.CanSetTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool -> bool
Function CanSetTypeMapping (returnTypeMapping As RelationalTypeMapping, fromDataAnnotation As Boolean) As Boolean Implements IConventionDbFunctionBuilder.CanSetTypeMapping

Parameters

returnTypeMapping
RelationalTypeMapping
fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given return type mapping can be set for the database function.

Implements

Applies to