Click here to Skip to main content
16,007,443 members
Home / Discussions / C#
   

C#

 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
PIEBALDconsult24-Feb-11 14:09
mvePIEBALDconsult24-Feb-11 14:09 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 14:56
Nadia Monalisa24-Feb-11 14:56 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
PIEBALDconsult25-Feb-11 1:47
mvePIEBALDconsult25-Feb-11 1:47 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
N a v a n e e t h24-Feb-11 16:51
N a v a n e e t h24-Feb-11 16:51 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 17:16
Nadia Monalisa24-Feb-11 17:16 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
N a v a n e e t h24-Feb-11 17:22
N a v a n e e t h24-Feb-11 17:22 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 17:58
Nadia Monalisa24-Feb-11 17:58 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
_Maxxx_24-Feb-11 18:04
professional_Maxxx_24-Feb-11 18:04 
HOw about a couple of extra properties on your Person Class.

bool IsUpdated;
bool IsDeleted;


Your grid needs to be filtered to omit the IsDeleted items (or just highlight them in some way so the user can change their minds)
Set the IsUpdated when anything is, erm, updated.

Then your DAL just updates where IsUpated, and deletes where IsDeleted.
___________________________________________
.\\axxx
(That's an 'M')

GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 18:13
Nadia Monalisa24-Feb-11 18:13 
QuestionMSSQL and C# ;( Pin
csrss24-Feb-11 13:11
csrss24-Feb-11 13:11 
AnswerRe: MSSQL and C# ;( Pin
csrss24-Feb-11 14:20
csrss24-Feb-11 14:20 
AnswerRe: MSSQL and C# ;( Pin
Henry Minute24-Feb-11 14:37
Henry Minute24-Feb-11 14:37 
GeneralRe: MSSQL and C# ;( Pin
csrss24-Feb-11 15:45
csrss24-Feb-11 15:45 
QuestionListview sorting by group of items Pin
fady_sayegh24-Feb-11 4:43
fady_sayegh24-Feb-11 4:43 
AnswerRe: Listview sorting by group of items Pin
Luc Pattyn24-Feb-11 5:15
sitebuilderLuc Pattyn24-Feb-11 5:15 
GeneralRe: Listview sorting by group of items Pin
fady_sayegh24-Feb-11 5:29
fady_sayegh24-Feb-11 5:29 
GeneralRe: Listview sorting by group of items Pin
Luc Pattyn24-Feb-11 5:34
sitebuilderLuc Pattyn24-Feb-11 5:34 
JokeRe: Listview sorting by group of items Pin
Richard MacCutchan24-Feb-11 6:03
mveRichard MacCutchan24-Feb-11 6:03 
GeneralRe: Listview sorting by group of items Pin
Luc Pattyn24-Feb-11 6:44
sitebuilderLuc Pattyn24-Feb-11 6:44 
AnswerRe: Listview sorting by group of items Pin
Dalek Dave24-Feb-11 12:51
professionalDalek Dave24-Feb-11 12:51 
AnswerRe: Listview sorting by group of items Pin
RaviRanjanKr25-Feb-11 18:40
professionalRaviRanjanKr25-Feb-11 18:40 
Questionparent/child tables and bindingsources Pin
LordZoster24-Feb-11 4:27
LordZoster24-Feb-11 4:27 
AnswerRe: parent/child tables and bindingsources Pin
PIEBALDconsult24-Feb-11 7:42
mvePIEBALDconsult24-Feb-11 7:42 
GeneralRe: parent/child tables and bindingsources Pin
LordZoster24-Feb-11 20:51
LordZoster24-Feb-11 20:51 
GeneralRe: parent/child tables and bindingsources Pin
PIEBALDconsult25-Feb-11 1:42
mvePIEBALDconsult25-Feb-11 1:42 

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.