C# Class DistALServer.DAL.DatabaseDataAccess

TODO: Update summary.
Inheritance: IDataAccess
Mostrar archivo Open project: majimenezp/DistAppLog

Public Methods

Method Description
CheckAppId ( string appname ) : long
DatabaseDataAccess ( ) : System
GetLog ( ) : Entities.Log[]
GetLog ( int PageNumber, int ItemsPerPage, int &TotalPages ) : Entities.Log[]
InsertDebugMessage ( DistALMessages message ) : void
InsertErrorMessage ( DistALMessages message ) : void
InsertFatalMessage ( DistALMessages message ) : void
InsertHitMessage ( DistALMessages message ) : void
InsertInfoMessage ( DistALMessages message ) : void
InsertWarningMessage ( DistALMessages message ) : void

Private Methods

Method Description
BuildSchema ( NHibernate.Cfg.Configuration config ) : void
CreateDbConfiguration ( string connectionString, PersistenceProviders provider ) : IPersistenceConfigurer
FillAppIds ( ) : void
GetSqliteFilePath ( ) : string
InsertLog ( Log entity ) : bool

Method Details

CheckAppId() public method

public CheckAppId ( string appname ) : long
appname string
return long

DatabaseDataAccess() public method

public DatabaseDataAccess ( ) : System
return System

GetLog() public method

public GetLog ( ) : Entities.Log[]
return Entities.Log[]

GetLog() public method

public GetLog ( int PageNumber, int ItemsPerPage, int &TotalPages ) : Entities.Log[]
PageNumber int
ItemsPerPage int
TotalPages int
return Entities.Log[]

InsertDebugMessage() public method

public InsertDebugMessage ( DistALMessages message ) : void
message DistALMessages
return void

InsertErrorMessage() public method

public InsertErrorMessage ( DistALMessages message ) : void
message DistALMessages
return void

InsertFatalMessage() public method

public InsertFatalMessage ( DistALMessages message ) : void
message DistALMessages
return void

InsertHitMessage() public method

public InsertHitMessage ( DistALMessages message ) : void
message DistALMessages
return void

InsertInfoMessage() public method

public InsertInfoMessage ( DistALMessages message ) : void
message DistALMessages
return void

InsertWarningMessage() public method

public InsertWarningMessage ( DistALMessages message ) : void
message DistALMessages
return void