protected static SetConnection ( |
||
dataSource | The data source that is used to indicate the connection. | |
connection | IDbConnection | The connection to set. |
return | void |
protected static void SetConnection(DataSources dataSource, IDbConnection connection)
{
StateManager.Personal[dataSource, "Connection.SqlServer"] = connection;
}