C# Class Crow.Library.Foundation.Common.ConnectionStringInformation

Represents the connection string definition for a connection
Mostrar archivo Open project: msusur/Crowfx

Public Properties

Property Type Description
Empty ConnectionStringInformation

Public Methods

Method Description
ConnectionStringInformation ( string connectionString ) : System

Initializes a new instance of connection string information with connectionstring and default provider as "System.Data.SqlClient".

ConnectionStringInformation ( string connectionString, string provider ) : System

Initializes a new instance of connection string information with connectionstring and provider.

GetFromConfiguration ( ) : ConnectionStringInformation

Creates a new instance of ConnectionStringInformation from the Application Configuration.

Protected Methods

Method Description
ConnectionStringInformation ( ) : System

Method Details

ConnectionStringInformation() protected method

protected ConnectionStringInformation ( ) : System
return System

ConnectionStringInformation() public method

Initializes a new instance of connection string information with connectionstring and default provider as "System.Data.SqlClient".
public ConnectionStringInformation ( string connectionString ) : System
connectionString string
return System

ConnectionStringInformation() public method

Initializes a new instance of connection string information with connectionstring and provider.
public ConnectionStringInformation ( string connectionString, string provider ) : System
connectionString string
provider string
return System

GetFromConfiguration() public static method

Creates a new instance of ConnectionStringInformation from the Application Configuration.
public static GetFromConfiguration ( ) : ConnectionStringInformation
return ConnectionStringInformation

Property Details

Empty public_oe static_oe property

Empty instance.
public static ConnectionStringInformation,Crow.Library.Foundation.Common Empty
return ConnectionStringInformation