C# 클래스 Drey.Configuration.Repositories.SQLiteRepositories.PackageSettingRepository

This is the app settings, per package.
상속: SqlRepository, IPackageSettingRepository
파일 보기 프로젝트 열기: dealproc/Drey 1 사용 예제들

공개 메소드들

메소드 설명
All ( ) : IEnumerable

Alls this instance.

All ( string packageId ) : IEnumerable

Alls the specified package identifier.

ByKey ( string packageId, string key ) : string

Bies the key.

Delete ( int id ) : void

Deletes the specified package setting, by its key.

Get ( string packageId, string key ) : DataModel.PackageSetting

Gets the specified package identifier.

PackageSettingRepository ( INutConfiguration configurationManager ) : Dapper

Initializes a new instance of the PackageSettingRepository class. Used by IoC container.

PackageSettingRepository ( string databaseNameAndPath ) : Dapper

Initializes a new instance of the PackageSettingRepository class. Used for integration testing.

Store ( DataModel model ) : void

Stores the specified model.

Store ( Services model ) : void

Stores the specified model.

메소드 상세

All() 공개 메소드

Alls this instance.
public All ( ) : IEnumerable
리턴 IEnumerable

All() 공개 메소드

Alls the specified package identifier.
public All ( string packageId ) : IEnumerable
packageId string The package identifier.
리턴 IEnumerable

ByKey() 공개 메소드

Bies the key.
public ByKey ( string packageId, string key ) : string
packageId string The package identifier.
key string The key.
리턴 string

Delete() 공개 메소드

Deletes the specified package setting, by its key.
public Delete ( int id ) : void
id int The key of the package setting.
리턴 void

Get() 공개 메소드

Gets the specified package identifier.
public Get ( string packageId, string key ) : DataModel.PackageSetting
packageId string The package identifier.
key string The key.
리턴 DataModel.PackageSetting

PackageSettingRepository() 공개 메소드

Initializes a new instance of the PackageSettingRepository class. Used by IoC container.
public PackageSettingRepository ( INutConfiguration configurationManager ) : Dapper
configurationManager INutConfiguration The configuration manager.
리턴 Dapper

PackageSettingRepository() 공개 메소드

Initializes a new instance of the PackageSettingRepository class. Used for integration testing.
public PackageSettingRepository ( string databaseNameAndPath ) : Dapper
databaseNameAndPath string The database name and path.
리턴 Dapper

Store() 공개 메소드

Stores the specified model.
public Store ( DataModel model ) : void
model DataModel The model.
리턴 void

Store() 공개 메소드

Stores the specified model.
public Store ( Services model ) : void
model Services The model.
리턴 void