QuoteReplyTopic: PassthruEsqlQuery Posted: 14-Sep-2009 at 2:13pm
EF is expecting an EntitySet named "DailyVehicleRoute" in the conceptual model. If you've used the pluralizer, the name is most likely "DailyVehicleRoutes".
SELECT DER.EmployeeID FROM DailyEmployeeRoute as DER WHERE DER.DailyVehicleRouteID IN
(
SELECT DailyVehicleRouteID FROM DailyVehicleRoute as DVR WHERE DVR.RouteDate = '9/9/2009' ))
AND
oo.isActive =1
AND
oo.OperationID = 1
var
query = new PassthruEsqlQuery(typeof(Employee), parameterizedEsql);
When i run it I get this error:
'DailyEmployeeRoute' could not be resolved in the current scope or context. Make sure that all referenced variables are in scope, that required schemas are loaded, and that namespaces are referenced correctly.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum