/// <summary> /// Sets <see cref="MsSqlDataConnection"/> reference to provided <see cref="MsSqlDataCommand"/> object and prepares it. /// </summary> /// <param name="msdc"><see cref="MsSqlDataCommand"/> object.</param> /// <param name="connection"><see cref="MsSqlDataConnection"/> to reference.</param> private static void SetConnection( ref MsSqlDataCommand msdc, MsSqlDataConnection connection ) { msdc.Prepare(ref connection); }