Npgsql throws CommandText property has not been initialized otherwise.
CommandText property has not been initialized