RelationalKeyExtensions.FindSharedObjectRootKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| FindSharedObjectRootKey(IConventionKey, StoreObjectIdentifier) |
找到第一個 IConventionKey 映射到相同限制的共享資料表類物件。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |
| FindSharedObjectRootKey(IKey, StoreObjectIdentifier) |
找到第一個 IConventionKey 映射到相同限制的共享資料表類物件。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |
| FindSharedObjectRootKey(IMutableKey, StoreObjectIdentifier) |
找到第一個 IMutableKey 映射到相同限制的共享資料表類物件。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |
| FindSharedObjectRootKey(IReadOnlyKey, StoreObjectIdentifier) |
找到第一個 IKey 映射到相同限制的共享資料表類物件。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |
FindSharedObjectRootKey(IConventionKey, StoreObjectIdentifier)
找到第一個 IConventionKey 映射到相同限制的共享資料表類物件。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
public static Microsoft.EntityFrameworkCore.Metadata.IConventionKey? FindSharedObjectRootKey(this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionKey FindSharedObjectRootKey(this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IConventionKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IConventionKey, ByRef storeObject As StoreObjectIdentifier) As IConventionKey
參數
- key
- IConventionKey
索引鍵。
- storeObject
- StoreObjectIdentifier
包含儲存物件的識別碼。
傳回
鑰匙被找到,或者 null 如果找不到。
適用於
FindSharedObjectRootKey(IKey, StoreObjectIdentifier)
找到第一個 IConventionKey 映射到相同限制的共享資料表類物件。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
public static Microsoft.EntityFrameworkCore.Metadata.IKey? FindSharedObjectRootKey(this Microsoft.EntityFrameworkCore.Metadata.IKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IKey FindSharedObjectRootKey(this Microsoft.EntityFrameworkCore.Metadata.IKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IKey, ByRef storeObject As StoreObjectIdentifier) As IKey
參數
- key
- IKey
索引鍵。
- storeObject
- StoreObjectIdentifier
包含儲存物件的識別碼。
傳回
鑰匙被找到,或者 null 如果找不到。
適用於
FindSharedObjectRootKey(IMutableKey, StoreObjectIdentifier)
找到第一個 IMutableKey 映射到相同限制的共享資料表類物件。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
public static Microsoft.EntityFrameworkCore.Metadata.IMutableKey? FindSharedObjectRootKey(this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableKey FindSharedObjectRootKey(this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IMutableKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IMutableKey, ByRef storeObject As StoreObjectIdentifier) As IMutableKey
參數
- key
- IMutableKey
索引鍵。
- storeObject
- StoreObjectIdentifier
包含儲存物件的識別碼。
傳回
鑰匙被找到,或者 null 如果找不到。
適用於
FindSharedObjectRootKey(IReadOnlyKey, StoreObjectIdentifier)
找到第一個 IKey 映射到相同限制的共享資料表類物件。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey? FindSharedObjectRootKey(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSharedObjectRootKey : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey
<Extension()>
Public Function FindSharedObjectRootKey (key As IReadOnlyKey, ByRef storeObject As StoreObjectIdentifier) As IReadOnlyKey
參數
- key
- IReadOnlyKey
索引鍵。
- storeObject
- StoreObjectIdentifier
包含儲存物件的識別碼。
傳回
鑰匙被找到,或者 null 如果找不到。