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.

Reply via email to