Click here to Skip to main content
14,428,449 members
   

C#

 
GeneralRe: how to make a minimalist event manager with c# Pin
OriginalGriff17-Dec-19 0:10
communityengineerOriginalGriff17-Dec-19 0:10 
AnswerRe: how to make a minimalist event manager with c# Pin
#realJSOP23-Dec-19 1:47
mva#realJSOP23-Dec-19 1:47 
GeneralRe: how to make a minimalist event manager with c# Pin
Mycroft Holmes16-Dec-19 23:29
MemberMycroft Holmes16-Dec-19 23:29 
AnswerRe: how to make a minimalist event manager with c# Pin
#realJSOP23-Dec-19 1:46
mva#realJSOP23-Dec-19 1:46 
AnswerRe: how to make a minimalist event manager with c# Pin
Gerry Schmitz17-Dec-19 7:01
mveGerry Schmitz17-Dec-19 7:01 
QuestionPrint on roll paper using report rdlc and reportviewer Pin
Member 1419221613-Dec-19 9:56
MemberMember 1419221613-Dec-19 9:56 
AnswerRe: Print on roll paper using report rdlc and reportviewer Pin
Richard MacCutchan13-Dec-19 10:20
communityengineerRichard MacCutchan13-Dec-19 10:20 
QuestionTracking Data Changes Pin
Kevin Marois13-Dec-19 9:41
professionalKevin Marois13-Dec-19 9:41 
I'm working on a WPF app that hits SQL on a network. Next year I will be adding in a tablet app which will include adding in a WebAPI and hosting the BL & DAL on a server, probably in IIS.

In each table I have the following columns
CreatedById         INT NOT NULL FOREIGN KEY REFERENCES Users(UserId),
CreatedDT           DATETIME NOT NULL,
LastModifiedById    INT NULL FOREIGN KEY REFERENCES Users(UserId),
LastModifiedDT      DATETIME NULL,
DeletedById         INT NULL FOREIGN KEY REFERENCES Users(UserId),
DeletedDT           DATETIME NULL
The question is this.... How would I pass the PK of the logged in user to the back end? Right now, with the WPF app, once the user logs in, I know their PK but I don't do anything with it.

My app has VM's which call the BL, which calls the DAL. Would you pass the User's PK to each method??
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Tracking Data Changes Pin
Eddy Vluggen13-Dec-19 12:35
professionalEddy Vluggen13-Dec-19 12:35 
GeneralRe: Tracking Data Changes Pin
Kevin Marois13-Dec-19 12:43
professionalKevin Marois13-Dec-19 12:43 
AnswerRe: Tracking Data Changes Pin
Gerry Schmitz13-Dec-19 13:38
mveGerry Schmitz13-Dec-19 13:38 
GeneralRe: Tracking Data Changes Pin
Kevin Marois16-Dec-19 11:51
professionalKevin Marois16-Dec-19 11:51 
GeneralRe: Tracking Data Changes Pin
Gerry Schmitz16-Dec-19 13:06
mveGerry Schmitz16-Dec-19 13:06 
QuestionHow do you make a unit test of an empty linked list? Pin
Melissa Anthonia13-Dec-19 8:56
MemberMelissa Anthonia13-Dec-19 8:56 
AnswerRe: How do you make a unit test of an empty linked list? Pin
Melissa Anthonia13-Dec-19 10:13
MemberMelissa Anthonia13-Dec-19 10:13 
GeneralRe: How do you make a unit test of an empty linked list? Pin
Gerry Schmitz13-Dec-19 13:49
mveGerry Schmitz13-Dec-19 13:49 
GeneralRe: How do you make a unit test of an empty linked list? Pin
Melissa Anthonia13-Dec-19 14:45
MemberMelissa Anthonia13-Dec-19 14:45 
AnswerRe: How do you make a unit test of an empty linked list? Pin
Melissa Anthonia14-Dec-19 4:14
MemberMelissa Anthonia14-Dec-19 4:14 
Questiondesign a printdocument control with a text and boxes like filling form Pin
bimalachira13-Dec-19 8:06
Memberbimalachira13-Dec-19 8:06 
AnswerRe: design a printdocument control with a text and boxes like filling form Pin
OriginalGriff13-Dec-19 9:03
communityengineerOriginalGriff13-Dec-19 9:03 
Questionc# memory crash Pin
Member 1449096413-Dec-19 6:26
MemberMember 1449096413-Dec-19 6:26 
AnswerRe: c# memory crash Pin
OriginalGriff13-Dec-19 6:42
communityengineerOriginalGriff13-Dec-19 6:42 
GeneralRe: c# memory crash Pin
Member 1449096413-Dec-19 6:57
MemberMember 1449096413-Dec-19 6:57 
AnswerRe: c# memory crash Pin
OriginalGriff13-Dec-19 7:03
communityengineerOriginalGriff13-Dec-19 7:03 
GeneralRe: c# memory crash Pin
Eddy Vluggen13-Dec-19 7:04
professionalEddy Vluggen13-Dec-19 7:04 

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.