C# Class Rainy.DatabaseBackend

Inheritance: IDataBackend
ファイルを表示 Open project: Dynalon/Rainy Class Usage Examples

Public Methods

Method Description
ClearNotes ( IUser user ) : void
CreateSchema ( IDbConnectionFactory connFactory, bool reset = false ) : void
DatabaseBackend ( IDbConnectionFactory conn_factory, DbStorageFactory storage_factory, IAuthenticator auth, OAuthHandler handler ) : System
GetNoteRepository ( IUser user ) : INoteRepository

Method Details

ClearNotes() public method

public ClearNotes ( IUser user ) : void
user IUser
return void

CreateSchema() public static method

public static CreateSchema ( IDbConnectionFactory connFactory, bool reset = false ) : void
connFactory IDbConnectionFactory
reset bool
return void

DatabaseBackend() public method

public DatabaseBackend ( IDbConnectionFactory conn_factory, DbStorageFactory storage_factory, IAuthenticator auth, OAuthHandler handler ) : System
conn_factory IDbConnectionFactory
storage_factory Rainy.Db.DbStorageFactory
auth IAuthenticator
handler Rainy.OAuth.OAuthHandler
return System

GetNoteRepository() public method

public GetNoteRepository ( IUser user ) : INoteRepository
user IUser
return INoteRepository