[Mono-dev] [ADO.NET] AutoIncrement fields, unique constraints and updates

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Mon Mar 6 20:22:01 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marek Habersack wrote:
> On Sun, Mar 05, 2006 at 03:07:02AM -0500, T Senganal scribbled:
>> Hi 
> 
> I'm not sure how MS.Net works in this regard as I haven't tested it (don't
> have Windows handy atm) and I don't know whether all the DBMS-es out there
> use 0 as the special value of the auto-increment column. Perhaps the
> dupe-check code should completely ignore the values of auto-increment
> columns and the specific DBMS command builders should ignore such columns
> alltogether.
> 

Hi,

Regarding this issue, Npgsql command builder discards the auto-increment
columns when creating commands.

I also don't know how MS.Net works, but I think it also ignores the
auto-increment columns.

- --
Regards,

Francisco Figueiredo Jr.
http://fxjr.blogspot.com
Npgsql Lead Developer
http://www.pgfoundry.org/projects/npgsql
MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org


- -------------
"Science without religion is lame;
religion without science is blind."

                  ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRAzgOf7iFmsNzeXfAQJG0gf6Ar/HaFGKpHAdqDmBtCNpwwG5hUFRtGx+
+mW2xquqtBCB9+aRjAQmqYoPc/AfzmuJYBVO24GVmLnoywBvc4JQSZlrSLyR95Pp
S9JYwk+ToiWWn9/FBbdVmXo1pYWuvrmttjSnJoU0HcpprzFYYi9ezmwRi1aDPgc7
WVtrKl4NrCho0+zFXe8FzHeJXL5SEUIiiXKezJ2h+zSVj8DsD/cMEGBOMCPchV36
ds76/UjDrcAsqmtd3YQGz+mhx3DKph8EZVJ3pxFxZ1zTISFiWG16Ah89TONmPc2B
R/hN0oICmlp6q1xUQYfS1PeeWXkTPNoAb3xpA4APIIHUgyByXLOigQ==
=TY87
-----END PGP SIGNATURE-----

		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com



More information about the Mono-devel-list mailing list