DbFunctionBuilder.IConventionDbFunctionBuilder.CanSetStoreType(String, Boolean) Yöntem

Tanım

Verilen depo türünün veritabanı işlevi için ayarlanamayacağını gösteren bir değer döndürür.

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

Parametreler

storeType
String

Veritabanındaki işlevin mağaza türü.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak mı belirtilmediğini belirtir.

Döndürülenler

Boolean

true verilen depo türü, veritabanı işlevi için ayarlanuyorsa.

Uygulamalar

Şunlara uygulanır