On Tue, Jul 14, 2009 at 16:47, Ulrich Groffy<[email protected]> wrote:
> actually I'm doing some experiments for storing c# classes by
> serialization into a blob (text) field. How can I assign a memorystream
> to a database field and vice versa?
Create a blob parameter for your query, then use MemoryStream.ToArray
method and fill that parameter. Reading is similar - get the bytes,
put these into stream and do with it whatever you want.
--
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.cincura.net/ | http://www.ID3renamer.com
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider