|
-
Jul 9th, 2011, 01:08 PM
#2
Re: Custom DAL
That design violates good practice because you are mixing the data itself with the classes used to manipulate that data. You are blatantly breaking the Single Responsibility Principle.
Also, record IDs should pretty much always be whole numbers, so Decimal is not really the most appropriate type. Long would be a better choice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|