In VS2008, I think it is EF1.0, this works just fine. string queryString = @\"SELECT VALUE USERS FROM ProjectDBEntities.Users AS User
I need to get UserCarId(int) from this query and assign to int type variable. int UserCarId; Entities ctx = new Entities();
How to pass in Date Time value here? ObjectQuery<Item> _Query = ItemEntities.CreateQuery<Item>(\"Item\");
How to use ObjectContext and ObjectQuery<T> with my own c开发者_如何学Pythonlasses and objects?