Re: [Firebird-net-provider] web providers support

2010-03-16 Thread Miroslav Hrázský
you can add this into machine.config

runtime
assemblyBinding xmlns=urn:schemas-microsoft-com:asm.v1
appliesTo=v2.0.50727
 dependentAssembly
assemblyIdentity name=FirebirdSql.Data.FirebirdClient
publicKeyToken=3750abcc3150b00c culture=neutral /
bindingRedirect oldVersion=2.5.0.0 newVersion=2.5.2.0 /
 /dependentAssembly
   /assemblyBinding
/runtime

On 16 March 2010 12:16, korkless korkl...@yahoo.it wrote:

 hi all, the last dll of the web providers is stopped to the version 2.5.0
 so i want know if new versions will be added (also becouse i'm using vs 2005
 so i can't recompile them to works with the last client provider).

 if it's already supported can samebody put on the site or mail me the dll
 compiled with the client 2.5.2

 thanks






 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Firebird-net-provider mailing list
 Firebird-net-provider@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/firebird-net-provider




-- 
Miroslav Hrázský
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Re: [Firebird-net-provider] web providers support

2010-03-16 Thread korkless
with the assembly bindings i resolve my problems, thanks!

only another question, the sql script to initialize the db is not embedded in 
the dll, right? so i must run it by hand when i create/rebuilt the db


  

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


[Firebird-net-provider] Need help with entity key

2010-03-16 Thread sasha
Hi!
I'm trying to play with EF 4.0 and Firebird .NET Provider and have such 
problem which i can't solve.

A have an entity object (Manufacturer) materialized by some 
ObjectContext. I need to edit this object. For editor i'm creating new 
ObjectContext, pass EntityKey of my manufacturer and trying to 
materialize same manufacturer in this new context using entity key:

ObjectContext.GetObjectByKey(editedObjectKey);


And instead of object i'm getting an exception:

System.InvalidOperationException: Object mapping could not be found for 
Type with identity 'JewelyModel.Manufacturer'.
at 
System.Data.Metadata.Edm.MetadataWorkspace.ImplicitLoadFromEntityType(EntityType
 
type, Assembly callingAssembly)
at System.Data.Objects.ObjectContext.GetObjectByKey(EntityKey key)


What can it be? I can't find the solution :-(


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider