From: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
To: Aleksandar Dezelin <dezelin32@fastmail.fm>
To: pgsql-interfaces@postgresql.org <pgsql-interfaces@postgresql.org>
Subject: Re: Guid and Npgsql C#
Date: Wed, 3 Nov 2004 16:23:28 -0300 (ART)
Message-ID: <20041103192328.96816.qmail@web60708.mail.yahoo.com> (raw)
In-Reply-To: <4188F876.80603@fastmail.fm>
--- 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: fxjrlists@yahoo.com.br, dezelin32@fastmail.fm
Subject: Re: Guid and Npgsql C#
In-Reply-To: <20041103192328.96816.qmail@web60708.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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