Ian wrote:
álvaro,
Can you not break your LLBLGen project down into several smaller projects which each deal with a different section of the database?
Not really.
I like to use LLBLGenPro entities to hold my data. They already reflect the structure of the data via the generated properties that map the db relations, based on FK constraints.
If I have different projects, then I won't have relationships between entities from in different projects, even if they have FK constraints in the db.
Besides there isn't really good tool support to manage your db design in a structured way, at least that I know of. We use Visio EA which is nice because it allows you to design graphically and generate your model in most rdbms. However it doesn't allow you to structure your model in any way, so it's basically just a giant, flat, 300 table model. You can generate all of it or none of it.
Other tools that I heard of didn't support this either, please correct me if I'm wrong because I'm not so sure about that. Anyway I think they would be too expensive for us.
As you can see I have actually given some thought to this issue. Our systems have a hierarchical structure, like this:
core |--- subA-core-----|---- subsystem1
| |---- subsystem2
|--- subB
|--- subC
Where to make things interesting usually each of subA, subB, subC are different projects (I work in core and subA-core) and they all target different databases. LLBLGenPro is a great help to port the core to other databases. The problem is that I have to manually copy the Visio project to another place and remove the tables that don't belong to the core before I do that, and have subB and subC in different visio projects, where they can't have FK to tables in the core. Thankfully subB and subC haven't needed to do that but when they do things will get ugly.
So to sum it up it would be wonderful to split the genpro projects to reflect this structure but neither db design tools or genpro itself will let me do it. The new Multiple catalog support (sqlserver) / multiple schema support (Oracle) would be a way to have my single project built from different catalogs, but what I would need is different, namely to have a genpro SOLUTION composed of different projects that reference each other.
Now i'm not sure if anyone will be able to make anything of those last two paragraphs