/// <summary> /// The ExecuteCommand /// </summary> /// <param name="Cmd">The Cmd<see cref="OleDbCommand"/></param> /// <returns>The <see cref="int"/></returns> public static int ExecuteCommand(this OleDbCommand Cmd) { return(Cmd.ExecuteOleDbCommand()); }
/// <summary> /// The ExecuteCommand /// </summary> /// <param name="Cmd">The Cmd<see cref="OleDbCommand"/></param> /// <param name="Query">The Query<see cref="string"/></param> /// <param name="Con">The Con<see cref="OleDbConnection"/></param> /// <returns>The <see cref="int"/></returns> public static int ExecuteCommand(this OleDbCommand Cmd, string Query, OleDbConnection Con) { return(Cmd.ExecuteOleDbCommand(Query, Con)); }