On Wed, Aug 4, 2010 at 11:23, Michael Kattau <fbmaili...@gmx.de> wrote:
> I have to declare the datatype in .NET as String, because mapping of
> GUID is not supportet yet. But with string I got following message
> from the EF:
>
> "The type of the key field 'ID' is expected to be 'System.String', but
> the value provided is actually of type 'System.Guid'."
>
> So obviously, NET recognises your octets correctly as GUID.

That's internal conversion done inside provider.

> Unfortunately. Do you see a quick workaround on my end, to use the
> string-mapping? For the time being we are persisting everything as
> varchar(36), but char(16) would be much smaller and maybe much faster?

Probably easiest is not to use OCTETS charset, because that's what
being checked in provider.

-- 
Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.com

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to