Hello,
I'm very new to LLBLGen. I have created a project from two tables, each coming from a separate catalog within the same sqlserver.
[Cutting] has a foreign key called PublicationID which links to the primary key PublicationID of the [Publication] table. (again they are in separate catalogs).
I've created the above association before I generated the code.
Now what I would like to do should be really simple, but I just can't figure it out. I want to fetch the first 10 records of my [Cutting] table into a EntityCollection and each Cutting entity should contain its associated Publication entity.
Here's my code so far :
DataAccessAdapter db = new DataAccessAdapter();
db.ConnectionString = 'my connection string'
EntityCollection<CuttingEntity> cuttings = new EntityCollection<CuttingEntity>();
So I don't know how to populate my EntityCollection. I've looked at FetchEntityCollection but was not really inspired by it...
Please can you help me getting started ?