I have a table called CaliforniaCities which contains all the cities in California. I was able to create small test project and generate code for C# / Visual Studio 2010. I do see that I have entities. How can I start writing code against it and start querying and getting list of all cities. So far google results and Gen Pro documentation does not help at all. Using Entity Frame work, I was up and running really fast and I was writing Linq queries against it. But Using Gen Pro I can not get clear documentation on how to write simple code and get some data out of the generated code. How can I write some thing similar in GenPro??
var context = new CityTestEntities();
var query1 = from l in context.Cities
where l.CityID == 1
select l;
Thanks...