ConventionPropertyExtensions.SetTypeMapping(IConventionProperty, CoreTypeMapping, Boolean) Yöntem

Tanım

Verilen CoreTypeMapping özellik için 'i ayarlar

public static Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping SetTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping typeMapping, bool fromDataAnnotation = false);
static member SetTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * bool -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
<Extension()>
Public Function SetTypeMapping (property As IConventionProperty, typeMapping As CoreTypeMapping, Optional fromDataAnnotation As Boolean = false) As CoreTypeMapping

Parametreler

property
IConventionProperty

Özellik.

typeMapping
CoreTypeMapping

Bu CoreTypeMapping özellik için .

fromDataAnnotation
Boolean

Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

CoreTypeMapping

Şunlara uygulanır