StoreObjectDictionary<T> 类

定义

表示基于 StoreObjectIdentifier 键的查找。

[System.Runtime.CompilerServices.Nullable(0)]
public class StoreObjectDictionary<T> : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoreObjectDictionary<T> where T : class
public class StoreObjectDictionary<T> : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoreObjectDictionary<T> where T : class
[<System.Runtime.CompilerServices.Nullable(0)>]
type StoreObjectDictionary<'T (requires 'T : null)> = class
    interface IReadOnlyStoreObjectDictionary<'T (requires 'T : null)>
type StoreObjectDictionary<'T (requires 'T : null)> = class
    interface IReadOnlyStoreObjectDictionary<'T (requires 'T : null)>
Public Class StoreObjectDictionary(Of T)
Implements IReadOnlyStoreObjectDictionary(Of T)

类型参数

T

值类型。

继承
StoreObjectDictionary<T>
属性
实现

构造函数

名称 说明
StoreObjectDictionary<T>()

表示基于 StoreObjectIdentifier 键的查找。

方法

名称 说明
Add(StoreObjectIdentifier, T)

将指定的键和值添加到字典。

Find(StoreObjectIdentifier)

获取与指定键关联的值。

GetValues()

获取包含此集合中的值的集合。

Remove(StoreObjectIdentifier)

从集合中删除具有指定键的值,并在成功时返回该值。

适用于