C# 클래스 NZBDash.DataAccessLayer.Configuration.DbConfiguration

상속: ISqliteConfiguration
파일 보기 프로젝트 열기: NZBDash/NZBDash

Private Properties

프로퍼티 타입 설명
CheckDirectory void

공개 메소드들

메소드 설명
CheckDb ( ) : void
CreateDatabase ( ) : void

Create the database file.

DbConnection ( ) : IDbConnection

Gets the database connection.

DbFile ( ) : string
ProgramDataLocation ( ) : string

보호된 메소드들

메소드 설명
DbConfiguration ( ILogger logger, System.Data.Common.DbProviderFactory provider ) : System

비공개 메소드들

메소드 설명
CheckDirectory ( ) : void

Checks to see if the directory exists, if it doesn't it will create it.

메소드 상세

CheckDb() 공개 메소드

public CheckDb ( ) : void
리턴 void

CreateDatabase() 공개 메소드

Create the database file.
public CreateDatabase ( ) : void
리턴 void

DbConfiguration() 보호된 메소드

protected DbConfiguration ( ILogger logger, System.Data.Common.DbProviderFactory provider ) : System
logger ILogger
provider System.Data.Common.DbProviderFactory
리턴 System

DbConnection() 공개 메소드

Gets the database connection.
Factory returned null
public DbConnection ( ) : IDbConnection
리턴 IDbConnection

DbFile() 공개 추상적인 메소드

public abstract DbFile ( ) : string
리턴 string

ProgramDataLocation() 공개 추상적인 메소드

public abstract ProgramDataLocation ( ) : string
리턴 string