Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

Code Generation - Adding properties

$
0
0

What is the best way to add a new property to a business object? Currently I am using CSLAGenFork to generate business objects (.Library, .Dal, .DalSQL, and StoredProc).

If each business object is modified with custom logic, calculations, new methods etc, It seems quite difficult to add a single property at a later date. Edits are required in multiple places in the .Library class, .Dal, .DalSQL and the stored proc itself.

If CSLAGenFork is used to generate the objects again it could easily overwrite the custom logic that was written.

Are there any tools that would be easier than manually editing each location where the property is referenced?

 


Viewing all articles
Browse latest Browse all 764

Trending Articles