MutablePropertyExtensions.SetTypeMapping 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
CoreTypeMapping設定指定屬性的
public static Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping SetTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping typeMapping);
static member SetTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
<Extension()>
Public Function SetTypeMapping (property As IMutableProperty, typeMapping As CoreTypeMapping) As CoreTypeMapping
參數
- property
- IMutableProperty
屬性。
- typeMapping
- CoreTypeMapping
CoreTypeMapping這個屬性的 。