IConventionDbFunctionParameterBuilder.CanSetStoreType(String, Boolean) Method

Definition

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

public bool CanSetStoreType (string storeType, bool fromDataAnnotation = false);
public bool CanSetStoreType (string? storeType, bool fromDataAnnotation = false);
abstract member CanSetStoreType : string * bool -> bool
Public Function CanSetStoreType (storeType As String, Optional fromDataAnnotation As Boolean = false) As Boolean

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.

Applies to