Hand written class's is the way I'm going, but unlike all the examples out there that show a table with 5 or 6 fields, I have some detail tables that have 20+ fields. Its gets very tedious coding all the property get/sets and raw SQL and I wonder will I really see the benifits later on.
Personally, I would prefer a hand written class. This is for the simple reason that I have full control over it. What I mean is that I could easily try different approach on my code when I create the class. Unlike the .xsd which is being generated by the system. But using code-generated classes could speed up your developement. So if your in a hurry the use the code-generated but if you have lots of time, then create the classes youself...
I'm planning to build up following N tier architecture: RIA Layer Presentation Parse Layer Action Driver Work Flow Link Distributed Business Layer Data Access Layer Data / Database Layer
Compare with other tech, by this architecture, we can get following more benifits: 1, We can easily use any new client interface: html,SVG,APPLET,flash,PDA and so on. 2, It's possible to embed J2EE technology into .NET, so give user the feint that we use J2EE technology.
What is the best n-tier solution?
NorbertHH
Any chance of an example on how you write them (Especially when fetching or updating the data.)
Thanks
danielo1
This 2 articles below gives u examples espesially for FW 2.0
http://redir.internet.com/!search/www.15seconds.com/Issue/050721.htm
http://redir.internet.com/!search/www.15seconds.com/Issue/050728.htm
Ajeeth Kumar
Jayson Speer
Hi,
Personally, I would prefer a hand written class. This is for the simple reason that I have full control over it. What I mean is that I could easily try different approach on my code when I create the class. Unlike the .xsd which is being generated by the system. But using code-generated classes could speed up your developement. So if your in a hurry the use the code-generated but if you have lots of time, then create the classes youself...
cheers,
Paul June A. Domag
Johnson Road
RIA Layer
Presentation Parse Layer
Action Driver Work Flow Link
Distributed Business Layer
Data Access Layer
Data / Database Layer
Compare with other tech, by this architecture, we can get following more benifits:
1, We can easily use any new client interface: html,SVG,APPLET,flash,PDA and so on.
2, It's possible to embed J2EE technology into .NET, so give user the feint that we use J2EE technology.
xx-Cougar-xx
Hi,
Yes, I prefer hand written classes as well. You have complete control and you can optimize the code to suit your specific business scenario.
Regards,
Vikram
Somebody Else
Microsoft provides some of these aspects as part of the Enterprise Library. Make sure you check out the Enterprise Library:
1.] Enterprise Library for v1.1
2.] Enterprise Library for v2.0
Regards,
Vikram