Click here to Skip to main content
15,887,449 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ellipse Pin
WebMaster24-Oct-10 8:10
WebMaster24-Oct-10 8:10 
GeneralRe: Ellipse Pin
Lamrin25-Oct-10 5:15
Lamrin25-Oct-10 5:15 
GeneralRe: Ellipse Pin
WebMaster25-Oct-10 9:27
WebMaster25-Oct-10 9:27 
QuestionOOB design - class fields Pin
Dell.Simmons15-Oct-10 13:41
Dell.Simmons15-Oct-10 13:41 
AnswerRe: OOB design - class fields Pin
ricmil4215-Oct-10 14:29
ricmil4215-Oct-10 14:29 
GeneralRe: OOB design - class fields Pin
Dell.Simmons15-Oct-10 14:34
Dell.Simmons15-Oct-10 14:34 
AnswerRe: OOB design - class fields Pin
Abhinav S15-Oct-10 22:25
Abhinav S15-Oct-10 22:25 
AnswerRe: OOB design - class fields Pin
Keith Barrow16-Oct-10 5:40
professionalKeith Barrow16-Oct-10 5:40 
Good question (I've 5'd you) but personally, I think there are better solutions than both of the above. The business layer should be agnostic of the data layer as far as possible. The Data layer should have CRUD operations for the business objects, not the business layer calling the data layer. This is better separation of concerns IMO.
If you are actually "just" interested in persisting models (as opposed to doing this as an exercise in itself) it is worth giving the Entity Framework a look, or NHibernate. They map object model to relational models whilst having minimal/little impact on the purity of the object model itself.

AnswerRe: OOB design - class fields Pin
Nish Nishant16-Oct-10 6:27
sitebuilderNish Nishant16-Oct-10 6:27 
AnswerRe: OOB design - class fields Pin
Paul Michalik17-Oct-10 0:45
Paul Michalik17-Oct-10 0:45 
QuestionRead the 'raw' FileVersion and ProductVersion values from a file's version resource. Pin
Blake Miller15-Oct-10 13:02
Blake Miller15-Oct-10 13:02 
QuestionApplication Settings "Save Location" Pin
I Believe In GOD15-Oct-10 10:30
I Believe In GOD15-Oct-10 10:30 
AnswerRe: Application Settings "Save Location" Pin
Ian Shlasko15-Oct-10 10:34
Ian Shlasko15-Oct-10 10:34 
GeneralRe: Application Settings "Save Location" Pin
I Believe In GOD15-Oct-10 10:46
I Believe In GOD15-Oct-10 10:46 
GeneralRe: Application Settings "Save Location" Pin
AspDotNetDev15-Oct-10 12:29
protectorAspDotNetDev15-Oct-10 12:29 
QuestionHow to create a user control with parameters as tags Pin
kuul1315-Oct-10 10:17
kuul1315-Oct-10 10:17 
AnswerRe: How to create a user control with parameters as tags Pin
Not Active15-Oct-10 11:47
mentorNot Active15-Oct-10 11:47 
QuestionAsp.net Website Pin
MKC00215-Oct-10 2:59
MKC00215-Oct-10 2:59 
AnswerRe: Asp.net Website Pin
OriginalGriff15-Oct-10 3:05
mveOriginalGriff15-Oct-10 3:05 
AnswerRe: Asp.net Website [modified] Pin
Abhinav S15-Oct-10 3:22
Abhinav S15-Oct-10 3:22 
GeneralRe: Asp.net Website Pin
J4amieC15-Oct-10 4:42
J4amieC15-Oct-10 4:42 
AnswerRe: Asp.net Website Pin
Yusuf15-Oct-10 4:47
Yusuf15-Oct-10 4:47 
GeneralRe: Asp.net Website Pin
Abhinav S15-Oct-10 5:12
Abhinav S15-Oct-10 5:12 
GeneralRe: Asp.net Website Pin
MKC00216-Oct-10 3:16
MKC00216-Oct-10 3:16 
GeneralRe: Asp.net Website Pin
Dave Kreskowiak16-Oct-10 7:11
mveDave Kreskowiak16-Oct-10 7:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.