C# Class System.Data.SqlClient.SqlConnectionStringBuilderExtensions

Show file Open project: NuGet/NuGet.Services.Work

Public Methods

Method Description
ChangeDatabase ( this self, string newDatabaseName ) : System.Data.SqlClient.SqlConnectionStringBuilder
ConnectTo ( this self ) : Task
ConnectTo ( this self, string databaseName ) : Task
ConnectToMaster ( this self ) : Task
TrimNetworkProtocol ( this cstr ) : void

Private Methods

Method Description
ConnectTo ( string connection ) : Task

Method Details

ChangeDatabase() public static method

public static ChangeDatabase ( this self, string newDatabaseName ) : System.Data.SqlClient.SqlConnectionStringBuilder
self this
newDatabaseName string
return System.Data.SqlClient.SqlConnectionStringBuilder

ConnectTo() public static method

public static ConnectTo ( this self ) : Task
self this
return Task

ConnectTo() public static method

public static ConnectTo ( this self, string databaseName ) : Task
self this
databaseName string
return Task

ConnectToMaster() public static method

public static ConnectToMaster ( this self ) : Task
self this
return Task

TrimNetworkProtocol() public static method

public static TrimNetworkProtocol ( this cstr ) : void
cstr this
return void