Hi Alex,
I can connect to your server and create and EDM for the the DB.BEWARE.* tables.
It is not clear however how you are executing the sample code to get the error
reported, thus can you please provide the step to reproduce from an empty
project.
Also, can you trying enabling the CallStackOnException parameter in the
Virtuoso ini file, and restart the server to see if an call stack errors are
returned to the client as detailed at:
http://docs.openlinksw.com/virtuoso/handlingplcondit.html#stacktracesql
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink
On 11 Apr 2010, at 12:33, Alex Efimov wrote:
> Hello, guys.
> I have a Virtuoso DB on 79.136.196.8:1111
> I build EF data model from the DB.BEAWARE.* tables.
> One of the entity tables is called CountryIPs and I'm trying to get the rows
> count like this:
>
> using (BeAwareEntities context = new BeAwareEntities())
> {
> var IPs = context.CountryIPs.Where(ip => 100 < ip.StartNumber &&
> ip.StartNumber > 1000);
> if (IPs.Count() > 0) return true;
> ....
> }
>
> So, when executing this code, I get an "invalid type" error when the EF
> provider tries to build an expression.
>
> Thanks in advance.
>
> Best regards,
> Alexander Efimov.
> ------------------------------------------------------------------------------
> Download Intel® 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_______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users