Share via


DbFunctionParameterBuilder.IConventionDbFunctionParameterBuilder.CanSetStoreType Method

Definition

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

bool IConventionDbFunctionParameterBuilder.CanSetStoreType (string storeType, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder.CanSetStoreType : string * bool -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder.CanSetStoreType : string * bool -> bool
Function CanSetStoreType (storeType As String, fromDataAnnotation As Boolean) As Boolean Implements IConventionDbFunctionParameterBuilder.CanSetStoreType

Parameters

storeType
String

The store type of the function parameter in the database.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

True if the store type can be set for this property.

Implements

Applies to