just started using LLBLGen Pro

Posts   
 
    
developer1
User
Posts: 1
Joined: 30-May-2012
# Posted on: 30-May-2012 00:18:49   

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...

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 30-May-2012 06:57:13   

Are you using Adapter or SelfServicing?

Here are some useful links:

Once you get the idea of the Designer, and make a couple of tests using the generated code, you will feel comfortable with the framework.

David Elizondo | LLBLGen Support Team