예제 #1
0
 /// <summary>
 /// Opens a new connection or passes back an existing opened connection (that matches
 /// <see cref="TransactionIfAny"/>).  This command should be wrapped in a using statement
 /// </summary>
 /// <param name="server"></param>
 /// <returns></returns>
 public IManagedConnection GetManagedConnection(DiscoveredServer server)
 {
     return(server.GetManagedConnection(TransactionIfAny));
 }