Rainy.DatabaseBackend.DatabaseBackend C# (CSharp) Method

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
        public DatabaseBackend(IDbConnectionFactory conn_factory, DbStorageFactory storage_factory, IAuthenticator auth,
		                        OAuthHandler handler)
            : base(conn_factory)
        {
            oauthHandler = handler;
            storageFactory = storage_factory;

            // TODO move this into (Encrypted)DbStorageFactory implementation
            CreateSchema (conn_factory);
        }