예제 #1
0
 /// <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));
 }
예제 #2
0
 /// <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));
 }
예제 #3
0
 /// <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));
 }