Dil

CoreStrings.PropertyNotMapped(Object, Object, Object) Yöntem

Tanım

'{propertyType}' özelliği '{entityType}. Veritabanı sağlayıcısı bu türü desteklemediğinden {property}' eşlenemedi. Özellik değerini, değer dönüştürücüsü kullanarak veritabanı tarafından desteklenen bir türe dönüştürmeyi göz önünde bulundurun. Daha fazla bilgi için bkz. https://aka.ms/efcore-docs-value-converters. Alternatif olarak, '[NotMapped]' özniteliğini kullanarak veya 'OnModelCreating' içinde 'EntityTypeBuilder.Ignore' kullanarak özelliği modelden hariç tutun.

public static string PropertyNotMapped(object? propertyType, object? entityType, object? property);
public static string PropertyNotMapped(object entityType, object property, object propertyType);
public static string PropertyNotMapped(object? entityType, object? property, object? propertyType);
static member PropertyNotMapped : obj * obj * obj -> string
static member PropertyNotMapped : obj * obj * obj -> string
Public Shared Function PropertyNotMapped (propertyType As Object, entityType As Object, property As Object) As String
Public Shared Function PropertyNotMapped (entityType As Object, property As Object, propertyType As Object) As String

Parametreler

propertyTypeentityType
Object
entityTypeproperty
Object
propertypropertyType
Object

Döndürülenler

Şunlara uygulanır