November Happy Hour will be moved to Thursday December 5th.

Class ProviderCallContext

Helper class to provide parameters to data store provider method calls

Inheritance
System.Object
ProviderCallContext
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Dynamic.Providers
Assembly: EPiServer.Data.dll
Version: 9.12.2
Syntax
public class ProviderCallContext

Constructors

ProviderCallContext()

Construct the object with the default parameters

Declaration
public ProviderCallContext()

ProviderCallContext(ProviderCallContext)

Construct the object with the parameters supplied

Declaration
public ProviderCallContext(ProviderCallContext parentContext)
Parameters
Type Name Description
ProviderCallContext parentContext

The parent context to this context

Properties

Dependencies

Declaration
public HashSet<string> Dependencies { get; }
Property Value
Type Description
System.Collections.Generic.HashSet<System.String>

LoadedItems

Declaration
public IDictionary<Identity, object> LoadedItems { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<Identity, System.Object>

LoadType

Declaration
public LoadAsObjectType LoadType { get; set; }
Property Value
Type Description
LoadAsObjectType

Properties

Declaration
public PropertyBag Properties { get; set; }
Property Value
Type Description
PropertyBag

SavedObjects

Declaration
public IDictionary<object, Identity> SavedObjects { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.Object, Identity>

Store

Declaration
public DynamicDataStore Store { get; set; }
Property Value
Type Description
DynamicDataStore

StoreDefinition

Declaration
public StoreDefinition StoreDefinition { get; set; }
Property Value
Type Description
StoreDefinition

TargetType

Declaration
public Type TargetType { get; set; }
Property Value
Type Description
System.Type

TypeHandlers

Declaration
public IDictionary<Type, ITypeHandler> TypeHandlers { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.Type, ITypeHandler>

TypeToStoreMap

Declaration
public IDictionary<Type, string> TypeToStoreMap { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.Type, System.String>

TypeToStoreMapper

Declaration
public TypeToStoreMapper TypeToStoreMapper { get; set; }
Property Value
Type Description
TypeToStoreMapper

Methods

AddLoadedItem(Identity, String, Object)

Declaration
public void AddLoadedItem(Identity id, string storeName, object item)
Parameters
Type Name Description
Identity id
System.String storeName
System.Object item

Extension Methods