Click here to Skip to main content
15,893,904 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Pete O'Hanlon27-Feb-11 20:40
mvePete O'Hanlon27-Feb-11 20:40 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa27-Feb-11 21:24
Nadia Monalisa27-Feb-11 21:24 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Pete O'Hanlon27-Feb-11 22:21
mvePete O'Hanlon27-Feb-11 22:21 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa27-Feb-11 23:15
Nadia Monalisa27-Feb-11 23:15 
AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Eddy Vluggen27-Feb-11 22:14
professionalEddy Vluggen27-Feb-11 22:14 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa27-Feb-11 23:10
Nadia Monalisa27-Feb-11 23:10 
AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
RobCroll27-Feb-11 23:40
RobCroll27-Feb-11 23:40 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa28-Feb-11 0:39
Nadia Monalisa28-Feb-11 0:39 
Thank you very much. Yes, thats a good question. Actually, I spent many hours just to find out if that given code snippet should be a part of BLL or DAL. Yes, if I place that snippet in BLL, then, the auto generated LINQ to SQL data context can be the DAL. But, in my BLL, I wanted see the object, not the LINQ to SQL Data context. Because that data context is auto generated and I will have to depend on what Microsoft gives. That is much uncomfortable for me. But, I learned in many place that, Projection should not be done in DAL. Query is a Business Logic. So, the dilemma is kind of a headache and brain killing. Finally I decided to encapsulate the DataContext in DAL and the DAL will not do any projection. DAL will return a single row of a entity or a collection of entity. My BLL will use that collection of entity and use LINQ to Object to do any projection as needed. Even according to that decision, yes, you are right, the above snippet should be in BLL. I should have asked a collection of employees in DAL from BLL and then, the BLL would filter out with the email Address for the desired employee object using LINQ to Object. Hmmm Brain got jammed again Smile | :)
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
RobCroll28-Feb-11 2:00
RobCroll28-Feb-11 2:00 
AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Sander Rossel11-Mar-11 3:49
professionalSander Rossel11-Mar-11 3:49 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa11-Mar-11 4:21
Nadia Monalisa11-Mar-11 4:21 
QuestionDesign of WCF Pin
Mycroft Holmes27-Feb-11 13:49
professionalMycroft Holmes27-Feb-11 13:49 
AnswerRe: Design of WCF Pin
JV99992-Mar-11 2:57
professionalJV99992-Mar-11 2:57 
QuestionEstimate the cost of a Software application Pin
nz_hmz25-Feb-11 4:23
nz_hmz25-Feb-11 4:23 
AnswerRe: Estimate the cost of a Software application Pin
JV999925-Feb-11 4:43
professionalJV999925-Feb-11 4:43 
GeneralRe: Estimate the cost of a Software application Pin
nz_hmz25-Feb-11 5:46
nz_hmz25-Feb-11 5:46 
GeneralRe: Estimate the cost of a Software application Pin
Mycroft Holmes25-Feb-11 18:35
professionalMycroft Holmes25-Feb-11 18:35 
AnswerRe: Estimate the cost of a Software application Pin
Eddy Vluggen25-Feb-11 23:10
professionalEddy Vluggen25-Feb-11 23:10 
AnswerRe: Estimate the cost of a Software application Pin
RobCroll27-Feb-11 0:07
RobCroll27-Feb-11 0:07 
GeneralRe: Estimate the cost of a Software application Pin
grmihel28-Mar-11 22:27
grmihel28-Mar-11 22:27 
AnswerRe: Estimate the cost of a Software application Pin
Piccadilly Yum Yum3-Mar-11 2:24
Piccadilly Yum Yum3-Mar-11 2:24 
QuestionUnified System Security Design - Database / Code / Both! Pin
Jammer13-Feb-11 7:51
Jammer13-Feb-11 7:51 
AnswerRe: Unified System Security Design - Database / Code / Both! Pin
Manfred Rudolf Bihy13-Feb-11 10:37
professionalManfred Rudolf Bihy13-Feb-11 10:37 
GeneralRe: Unified System Security Design - Database / Code / Both! Pin
Jammer15-Feb-11 4:04
Jammer15-Feb-11 4:04 
QuestionIs MSMQ old school Pin
RobCroll1-Feb-11 0:08
RobCroll1-Feb-11 0:08 

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.