ConventionModelExtensions.FindIgnoredConfigurationSource 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示是否忽略該實體類型。
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? FindIgnoredConfigurationSource(this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member FindIgnoredConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function FindIgnoredConfigurationSource (model As IConventionModel, type As Type) As Nullable(Of ConfigurationSource)
參數
- model
- IConventionModel
用來檢查忽略型態的模型。
- type
- Type
可能會被忽略的實體類型。
傳回
若該實體類型,則忽略配置來源, null 否則。