C# Class Elastacloud.AzureManagement.Fluent.SqlAzure.Classes.SqlAzureTransaction

Able to perpetuate a transaction for a SqlAzure database - only works one way
Inheritance: IServiceTransaction
Exibir arquivo Open project: azurecoder/fluent-management

Public Methods

Method Description
Commit ( ) : dynamic

Used to commit the transaction data

Rollback ( ) : void

Used to rollback the transaction in the event of failure

SqlAzureTransaction ( SqlAzureManager manager ) : System

Private Methods

Method Description
AddNewSqlServer ( ) : string

Creates an executes an Add new Sql Azure Server instance command

DeleteSqlServer ( ) : void
ExecuteBatchNonQuery ( string sql, SqlConnection conn ) : void
ExecuteCommand ( SqlConnection connection, IEnumerable sql ) : void

Executes a set of commands against a Sql database

ExecuteScripts ( SqlConnection connection ) : void

Executes a set of scripts against a Sql Azure database

GetConnection ( string dbName ) : SqlConnection

Gets a connection to a Sql Database

Method Details

Commit() public method

Used to commit the transaction data
public Commit ( ) : dynamic
return dynamic

Rollback() public method

Used to rollback the transaction in the event of failure
public Rollback ( ) : void
return void

SqlAzureTransaction() public method

public SqlAzureTransaction ( SqlAzureManager manager ) : System
manager SqlAzureManager
return System