/// <summary> /// Enumerates execute expando objects in this collection. /// </summary> /// <param name="this">The @this to act on.</param> /// <param name="cmdText">The command text.</param> /// <param name="transaction">The transaction.</param> /// <returns> /// An enumerator that allows foreach to be used to process execute expando objects in this collection. /// </returns> public static IEnumerable <dynamic> ExecuteExpandoObjects(this SqlCeConnection @this, string cmdText, SqlCeTransaction transaction) { return(@this.ExecuteExpandoObjects(cmdText, null, CommandType.Text, transaction)); }
/// <summary> /// Enumerates execute expando objects in this collection. /// </summary> /// <param name="this">The @this to act on.</param> /// <param name="cmdText">The command text.</param> /// <param name="commandType">Type of the command.</param> /// <returns> /// An enumerator that allows foreach to be used to process execute expando objects in this collection. /// </returns> public static IEnumerable <dynamic> ExecuteExpandoObjects(this SqlCeConnection @this, string cmdText, CommandType commandType) { return(@this.ExecuteExpandoObjects(cmdText, null, commandType, null)); }
/// <summary> /// Enumerates execute expando objects in this collection. /// </summary> /// <param name="this">The @this to act on.</param> /// <param name="cmdText">The command text.</param> /// <param name="parameters">Options for controlling the operation.</param> /// <returns> /// An enumerator that allows foreach to be used to process execute expando objects in this collection. /// </returns> public static IEnumerable <dynamic> ExecuteExpandoObjects(this SqlCeConnection @this, string cmdText, SqlCeParameter[] parameters) { return(@this.ExecuteExpandoObjects(cmdText, parameters, CommandType.Text, null)); }