npgsql - Npgsql2: Removed verification of NpgsqlDbType.Array when

Поиск
Список
Период
Сортировка
Искать

npgsql - Npgsql2: Removed verification of NpgsqlDbType.Array when

От:
fxjr@pgfoundry.org (User Fxjr)
Дата:
Log Message:
-----------

Removed verification of NpgsqlDbType.Array when setting NpgsqlDbType property. As BigInt has an enum value of 0, user would have problems if they try to specify an array of bigint because NpgsqlDbType.Array | NpgsqlDbType.Bigint == NpgsqlDbType.Array. This decision was based in the fact that to fix this problem, we would need to change all enum values which would lead to break already compiled clients. Thanks Jon Hanna for discussion about that.

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlParameter.cs (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlParameter.cs.diff?r1=1.9&r2=1.10)
FAQ