C# Класс Phun.Data.SqlDataRepository

Use by SQL Server Repository to store and retrieve data.
Наследование: ISqlDataRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
CacheData ( DapperContext context, ContentModel content, string tableName, string cachePath ) : void

Caches the data.

PopulateData ( DapperContext context, ContentModel content, string tableName, string cachePath ) : ContentModel

Populates the data.

PopulateHistoryData ( DapperContext context, ContentModel content, string tableName ) : void

Populates the history data.

RetrieveHistory ( DapperContext context, ContentModel content, string tableName ) : IQueryable

Retrieves the history.

SaveData ( DapperContext context, ContentModel content, string tableName, string cachePath ) : void

Saves the data.

Приватные методы

Метод Описание
ResolvePath ( ContentModel content, string basePath ) : string

Resolves the path.

Описание методов

CacheData() публичный Метод

Caches the data.
public CacheData ( DapperContext context, ContentModel content, string tableName, string cachePath ) : void
context DapperContext The context.
content ContentModel The content.
tableName string Name of the table.
cachePath string The cache path.
Результат void

PopulateData() публичный Метод

Populates the data.
public PopulateData ( DapperContext context, ContentModel content, string tableName, string cachePath ) : ContentModel
context DapperContext The context.
content ContentModel The content.
tableName string Name of the table.
cachePath string The cache path.
Результат ContentModel

PopulateHistoryData() публичный Метод

Populates the history data.
public PopulateHistoryData ( DapperContext context, ContentModel content, string tableName ) : void
context DapperContext The context.
content ContentModel The content.
tableName string Name of the table.
Результат void

RetrieveHistory() публичный Метод

Retrieves the history.
public RetrieveHistory ( DapperContext context, ContentModel content, string tableName ) : IQueryable
context DapperContext The context.
content ContentModel The content.
tableName string Name of the table.
Результат IQueryable

SaveData() публичный Метод

Saves the data.
public SaveData ( DapperContext context, ContentModel content, string tableName, string cachePath ) : void
context DapperContext The context.
content ContentModel The content.
tableName string Name of the table.
cachePath string The cache path.
Результат void