C# 클래스 Phun.Data.SqlDataRepository

Use by SQL Server Repository to store and retrieve data.
상속: ISqlDataRepository
파일 보기 프로젝트 열기: noogen/phuncms

공개 메소드들

메소드 설명
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