SaaS CMS has officially launched! Learn more now.

Interface IRepository

Summary description for IRepository.

Namespace: EPiServer.BaseLibrary
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public interface IRepository

Properties

DefaultObjectStore

Declaration
IObjectStore DefaultObjectStore { get; set; }
Property Value
Type Description
IObjectStore

Schemas

Declaration
IDictionary<string, ISchema> Schemas { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, ISchema>

Methods

CreateQuery()

Declaration
Query CreateQuery()
Returns
Type Description
Query

CreateQuery(String)

Declaration
Query CreateQuery(string schema)
Parameters
Type Name Description
System.String schema
Returns
Type Description
Query

CreateSession()

Declaration
ISession CreateSession()
Returns
Type Description
ISession

CreateSession(String)

Declaration
ISession CreateSession(string storeId)
Parameters
Type Name Description
System.String storeId
Returns
Type Description
ISession

Formatter()

Declaration
ISchemaFormatter Formatter()
Returns
Type Description
ISchemaFormatter

InitializeSchemas()

Declaration
void InitializeSchemas()

Receive(String)

Declaration
IItem Receive(string channelId)
Parameters
Type Name Description
System.String channelId
Returns
Type Description
IItem

RegisterChannel(IChannel)

Declaration
void RegisterChannel(IChannel channel)
Parameters
Type Name Description
IChannel channel

RegisterObjectStore(IObjectStore)

Declaration
void RegisterObjectStore(IObjectStore store)
Parameters
Type Name Description
IObjectStore store

RegisterType(Type, String)

Declaration
void RegisterType(Type type, string schemaId)
Parameters
Type Name Description
System.Type type
System.String schemaId

SchemaForType(Type)

Declaration
ISchema SchemaForType(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
ISchema

Send(String, IItem)

Declaration
object Send(string channelId, IItem item)
Parameters
Type Name Description
System.String channelId
IItem item
Returns
Type Description
System.Object

UnregisterChannel(String)

Declaration
void UnregisterChannel(string channelId)
Parameters
Type Name Description
System.String channelId

UnregisterObjectStore(String)

Declaration
void UnregisterObjectStore(string storeId)
Parameters
Type Name Description
System.String storeId

Extension Methods