pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedGuid and Npgsql C#
2+ messages / 2 participants
[nested] [flat]
* Guid and Npgsql C#
@ 2004-11-03 15:25 Aleksandar Dezelin <dezelin32@fastmail.fm>
2004-11-03 19:23 ` Re: Guid and Npgsql C# Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
0 siblings, 1 reply; 2+ messages in thread
From: Aleksandar Dezelin @ 2004-11-03 15:25 UTC (permalink / raw)
To: pgsql-interfaces
Does anybody knows how C# Guids are interpreted in Npgsql assembly?
I want to convert existing C# .NET application which uses MS SQL 2000
database to Mono and PostgreSQL but I don't know how to deal with all
Guid fields that it's using. I've found a patch that adds
uniqueidentifier support to PostgreSQL but I'm not sure how to use it
from C# and Mono.
Please help.
Thanks in advance,
Aleksandar Dezelin
--
Linux is like wigwam - no windows, no gates and apache inside. ...
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Guid and Npgsql C#
2004-11-03 15:25 Guid and Npgsql C# Aleksandar Dezelin <dezelin32@fastmail.fm>
@ 2004-11-03 19:23 ` Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
0 siblings, 0 replies; 2+ messages in thread
From: Francisco Figueiredo Jr. @ 2004-11-03 19:23 UTC (permalink / raw)
To: Aleksandar Dezelin <dezelin32@fastmail.fm>; pgsql-interfaces
--- Aleksandar Dezelin <dezelin32@fastmail.fm> escreveu:
> Does anybody knows how C# Guids are interpreted in Npgsql assembly?
> I want to convert existing C# .NET application which uses MS SQL 2000
> database to Mono and PostgreSQL but I don't know how to deal with all
> Guid fields that it's using. I've found a patch that adds
> uniqueidentifier support to PostgreSQL but I'm not sure how to use it
> from C# and Mono.
>
Hi Aleksandar.
Unfortunately, Npgsql doesn't support Guid datatypes. You could try using it as
string inside your database and use the NpgsqlDbTypes.Text as the datatype.
Could you provide me a link to this uniqueidentifier patch? I could help you
add this specific type to a custom Npgsql assembly.
Regards,
Francisco Figueiredo Jr.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-11-03 19:23 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-11-03 15:25 Guid and Npgsql C# Aleksandar Dezelin <dezelin32@fastmail.fm>
2004-11-03 19:23 ` Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox