Wnat is the preferred method of building extremely lightweight business object / DAL now that I have
- by Seth Spearman
Hello,
I have completed a simple database for a project. Only 6tables. Of the 6, one is a "lookup" table.
There is one "master" table that is the driver for the system. It is referenced as a foreign key by the other four tables.
Give that this step is completed. What is the FASTEST, EASIEST way to create POCOs/BizObjects that can load load the data and the child data.
Here are my CAVEATS.
*I don't want to spend more than 30-60 minutes learning how?
*There is very little biz logic needed in the POCOs. They will pretty much load data. Don't even really need to write back data.
*I already know CSLA (up to version 3) but I feel that is overkill for this little project.
*Nevertheless, I would love it if it ROOT objects could have collection classes that contain the CHILD objects as in CSLA...but again, without using CSLA.
*Please give the answer for .NET 35 but also if I was restricted to only use .NET 20.
*Ideally I could just point a tool at the database and the POCOs would be genn'ed.
*FREE
Just curious what you guys use for this kind of scenario.
I understand that this question is subjective but I want to hear a variety of answers.
Seth