Re: [Firebird-net-provider] EF 4 Error mapping UUID Char(16) to GUID for Stored Procedure Input-Parameter

2011-08-15 Thread Jiri Cincura
On Tue, Aug 16, 2011 at 03:47, Ultimate Venom wrote: > Some idea to doing it automatically? Write a simple console app to change it every time you update model. -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com ---

[Firebird-net-provider] [FB-Tracker] Created: (DNET-389) Recognize #GUID# etc. also for parameters of procedures/functions

2011-08-15 Thread Jiri Cincura (JIRA)
Recognize #GUID# etc. also for parameters of procedures/functions - Key: DNET-389 URL: http://tracker.firebirdsql.org/browse/DNET-389 Project: .NET Data provider Issue Type: Imp

Re: [Firebird-net-provider] EF 4 Stored Procedure with UUID Input-Parameter

2011-08-15 Thread Jiri Cincura
On Mon, Aug 15, 2011 at 22:08, Ultimate Venom wrote: > What can I do to force .net EF 4 to read my input variable (DEPART_UUID) > from de SP DEPART_LOGIC_DELETE like a GUID type and not a char type? You can't right now. You have to change it manually in store model. I'll create a ticket in track

Re: [Firebird-net-provider] EF 4 Error mapping UUID Char(16) to GUID for Stored Procedure Input-Parameter

2011-08-15 Thread Ultimate Venom
Ok. I fixed it opening the .edmx file with a XML editor and I changed manually the "char" type property to "guid" type, but every time I update my model I need to do it again The #GUID# keyword seems doesn't work in SP description when it read the database. Some idea to doing it automatically?

[Firebird-net-provider] EF 4 Stored Procedure with UUID Input-Parameter

2011-08-15 Thread Ultimate Venom
Hi. I need a little help :p Note: I'm using VS2010 with .net 4 and Firebird Net Provider 2.6.5. I written a stored procedure to do a logic delete in my Firebird DB. I want to map this SP in the Delete Function in one table. Here my table, domain and sp code: Domain: CREATE DOMAIN UUID AS CHA

Re: [Firebird-net-provider] Setting cmd trans buggy?

2011-08-15 Thread Kjell Rilbe
Den 2011-08-15 16:38 skrev Kjell Rilbe såhär: > Hi, > > Please regard the following code snippet, from my app: > > > FbTransaction trans = cmdData.Connection.BeginTransaction(); > try > { > cmdData.Transaction = trans; // (1) > cmdÄgare.Transaction = trans; // (2) > cmdIdn.Transaction

[Firebird-net-provider] Setting cmd trans buggy?

2011-08-15 Thread Kjell Rilbe
Hi, Please regard the following code snippet, from my app: FbTransaction trans = cmdData.Connection.BeginTransaction(); try { cmdData.Transaction = trans; // (1) cmdÄgare.Transaction = trans; // (2) cmdIdn.Transaction = trans; // (3) ... } When executing this, cmdData.Transaction be