Beispiel #1
0
 /// <summary>
 /// Checks if a database command is a Npgsql command and converts.
 /// </summary>
 /// <param name="command">The command.</param>
 /// <returns>converted NpgsqlCommand</returns>
 public static NpgsqlCommand CheckIfNpgsqlCommand(DbCommand command) {
     command.AssertIsNpgsqlCommand();
     return (NpgsqlCommand)command;
 }