Click here to Skip to main content
15,891,951 members
Home / Discussions / C#
   

C#

 
AnswerRe: Complex SQL Insert Query Pin
Not Active5-Jun-10 6:58
mentorNot Active5-Jun-10 6:58 
GeneralRe: Complex SQL Insert Query Pin
TenRC5-Jun-10 13:23
TenRC5-Jun-10 13:23 
QuestionEF question -- get a name of a table [modified] Pin
Lutosław5-Jun-10 4:49
Lutosław5-Jun-10 4:49 
AnswerRe: EF question -- get a name of a table Pin
Not Active5-Jun-10 6:51
mentorNot Active5-Jun-10 6:51 
GeneralRe: EF question -- get a name of a table Pin
Lutosław5-Jun-10 12:14
Lutosław5-Jun-10 12:14 
GeneralRe: EF question -- get a name of a table Pin
Not Active5-Jun-10 13:03
mentorNot Active5-Jun-10 13:03 
GeneralRe: EF question -- get a name of a table Pin
Lutosław5-Jun-10 13:50
Lutosław5-Jun-10 13:50 
GeneralRe: EF question -- get a name of a table Pin
Not Active5-Jun-10 15:18
mentorNot Active5-Jun-10 15:18 
Nice idea but I prefer more a loosely coupled architecture. The same thing can be achieved without tying the listbox directly to the datacontext.

IMO this is not a good design. What if the user changed their mind and did not want to insert the item? You are forcing them to delete the object rather cancel the action.

This solution also cannot be used with disconnected objects since you are relying on the context to track the objects for addition and deletion. At point do you commit the changes? You are also not taking into account possible conflicts, such as primary key violations.

Not helping to solve the problem you are having? Correct, because IMO the design is flawed and thus there is no problem to solve.

I know the language. I've read a book. - _Madmatt

GeneralRe: EF question -- get a name of a table Pin
Lutosław6-Jun-10 4:04
Lutosław6-Jun-10 4:04 
Questionhow to handle Server Not found exception at client side in .net remoting? Pin
amit_834-Jun-10 22:48
professionalamit_834-Jun-10 22:48 
AnswerRe: how to handle Server Not found exception at client side in .net remoting? Pin
#realJSOP5-Jun-10 2:02
mve#realJSOP5-Jun-10 2:02 
Questionoutput confusion Pin
Unknown Ajanabi4-Jun-10 22:03
Unknown Ajanabi4-Jun-10 22:03 
AnswerRe: output confusion Pin
Estys4-Jun-10 22:18
Estys4-Jun-10 22:18 
AnswerRe: output confusion [modified] Pin
DaveyM695-Jun-10 1:35
professionalDaveyM695-Jun-10 1:35 
AnswerRe: output confusion Pin
#realJSOP5-Jun-10 1:58
mve#realJSOP5-Jun-10 1:58 
GeneralRe: output confusion Pin
DaveyM695-Jun-10 2:20
professionalDaveyM695-Jun-10 2:20 
GeneralRe: output confusion Pin
Luc Pattyn5-Jun-10 2:47
sitebuilderLuc Pattyn5-Jun-10 2:47 
GeneralRe: output confusion Pin
DaveyM695-Jun-10 3:10
professionalDaveyM695-Jun-10 3:10 
GeneralRe: output confusion Pin
Luc Pattyn5-Jun-10 3:23
sitebuilderLuc Pattyn5-Jun-10 3:23 
GeneralRe: output confusion - OT Pin
DaveyM695-Jun-10 4:28
professionalDaveyM695-Jun-10 4:28 
GeneralRe: output confusion - OT Pin
Luc Pattyn5-Jun-10 4:40
sitebuilderLuc Pattyn5-Jun-10 4:40 
GeneralRe: output confusion Pin
Luc Pattyn5-Jun-10 3:31
sitebuilderLuc Pattyn5-Jun-10 3:31 
GeneralRe: output confusion Pin
Estys5-Jun-10 3:11
Estys5-Jun-10 3:11 
QuestionControl: Get value from a Form Pin
MBGustavo4-Jun-10 20:01
MBGustavo4-Jun-10 20:01 
AnswerRe: Control: Get value from a Form Pin
#realJSOP5-Jun-10 2:03
mve#realJSOP5-Jun-10 2:03 

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.