Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating entities on the fly dynamically?
Message
From
19/06/2008 10:31:47
 
 
To
19/06/2008 09:38:54
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01325409
Message ID:
01325437
Views:
11
Hi, Tracy.

>Interested in everyone's tactics for creating entities and mappers to handle complex join conditions and complex relationships. If the goal is to have a foundation built ahead of time, then when new joins are required later by programmers, how to accomplish that without having to modify the separate layers you've built? Any sites out there with ideas on handling that? Any way of creating entities on the fly?
>
>What is the general method out there in the dotnet world for handling entities and mappers and complex joins or parent-multiple child scenarios later when the product is in maitenance mode?
>
>What if Codesmith is used to generate the mappers and business entities? you dont' want to run codesmith every time a new relationship is needed down the road and have to modify that layer.

Did you check the ADO.NET Entity Framework? It basically allows you to build an entity model based on your db schema and then evolve them independently. Of course you have to maintain the mapping, but the tooling is quite good. It is in its last beta, coming as part of .NET 3.5 SP 1 in a month or so (final 1.0 release).

Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform