Example #1
0
 /// <summary>
 /// The ExecuteCommand
 /// </summary>
 /// <param name="Cmd">The Cmd<see cref="MySqlCommand"/></param>
 /// <returns>The <see cref="int"/></returns>
 public static int ExecuteCommand(this MySqlCommand Cmd)
 {
     return(Cmd.ExecuteMySqlCommand());
 }
Example #2
0
 /// <summary>
 /// The ExecuteCommand
 /// </summary>
 /// <param name="Con">The Con<see cref="MySqlConnection"/></param>
 /// <param name="Cmd">The Cmd<see cref="MySqlCommand"/></param>
 /// <param name="Query">The Query<see cref="string"/></param>
 /// <returns>The <see cref="int"/></returns>
 public static int ExecuteCommand(MySqlConnection Con, MySqlCommand Cmd, string Query)
 {
     return(Cmd.ExecuteMySqlCommand(Query, Con));
 }