Hi I'm very new to LLBLGEN Pro - i'm just evaluating version 2.5 demo right now.
So here's my question - I'm considering LLBLGEN Pro generated code as essentially a replacement for the DAL that I usually have to write by hand.
Now, I need to incorporate my business logic at this point, and I'm wondering whats the best way to get this done with LLBLGEN Pro.
I am considering these factors:
- Unit testing - I like to have as much business logic as possible to be outside the ASP.NET pages so that each piece of logic can be unit tested. This means even the validation will need to be located in the business layer.
- Reusability - I would like to be able to isolate the business logic so that it can be reusability by other apps e.g. web services, or web forms apps.
Everytime my database design changes, I need to regenerate the code, so I can't really put logic in there can I?
I started creating a layer between my front end and the generated projects to handle my business logic. But now I need to pass the entities up to the front end layer, so there is little separation between layers anyway, and little value in adding this extra layer if i'm going to do that.
How is everyone else handling this? Any suggestions would be welcome!
Thanks and happy new year!
Dravidian