Sdílet prostřednictvím


DbFunctionParameterBuilder.IConventionDbFunctionParameterBuilder.CanSetStoreType Metoda

Definice

Vrátí hodnotu určující, zda typ úložiště lze nastavit pro tuto vlastnost z aktuálního zdroje konfigurace.

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

Parametry

storeType
String

Typ úložiště parametru funkce v databázi.

fromDataAnnotation
Boolean

Určuje, zda byla konfigurace zadána pomocí datové poznámky.

Návraty

True, pokud pro tuto vlastnost lze nastavit typ úložiště.

Implementuje

Platí pro