RelationalPropertyExtensions.RemoveOverrides 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| RemoveOverrides(IMutableProperty, StoreObjectIdentifier) |
移除特定類資料表儲存物件的屬性面覆寫。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |
| RemoveOverrides(IConventionProperty, StoreObjectIdentifier) |
移除特定類資料表儲存物件的屬性面覆寫。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |
RemoveOverrides(IMutableProperty, StoreObjectIdentifier)
移除特定類資料表儲存物件的屬性面覆寫。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
public static Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides? RemoveOverrides(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member RemoveOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides
<Extension()>
Public Function RemoveOverrides (property As IMutableProperty, ByRef storeObject As StoreObjectIdentifier) As IMutableRelationalPropertyOverrides
參數
- property
- IMutableProperty
屬性。
- storeObject
- StoreObjectIdentifier
類似資料表的儲存物件的識別碼。
傳回
如果找不到該儲存物件的覆寫,則已移除IMutableRelationalPropertyOverridesnull或未覆蓋。
適用於
RemoveOverrides(IConventionProperty, StoreObjectIdentifier)
移除特定類資料表儲存物件的屬性面覆寫。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
public static Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides? RemoveOverrides(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member RemoveOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides
<Extension()>
Public Function RemoveOverrides (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier) As IConventionRelationalPropertyOverrides
參數
- property
- IConventionProperty
屬性。
- storeObject
- StoreObjectIdentifier
類似資料表的儲存物件的識別碼。
傳回
移除或IConventionRelationalPropertyOverridesnull找不到該儲存物件的覆寫,或是現有覆寫是從更高來源設定的。