private IDbCommand CloneCommand(IDbCommand command) { return (IDbCommand)((command is ICloneable) ? ((ICloneable)command).Clone() : null); }