Click here to Skip to main content
15,502,349 members
Home / Discussions / C#
   

C#

 
QuestionHow to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 21:38
Code4Ever31-Jul-22 21:38 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard MacCutchan31-Jul-22 22:37
mveRichard MacCutchan31-Jul-22 22:37 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 22:49
Code4Ever31-Jul-22 22:49 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard MacCutchan31-Jul-22 23:06
mveRichard MacCutchan31-Jul-22 23:06 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 23:17
Code4Ever31-Jul-22 23:17 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Dave Kreskowiak1-Aug-22 5:23
mveDave Kreskowiak1-Aug-22 5:23 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard Deeming1-Aug-22 1:25
mveRichard Deeming1-Aug-22 1:25 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Gerry Schmitz1-Aug-22 8:02
mveGerry Schmitz1-Aug-22 8:02 
I wouldn't "null" a relation in one case and not another. I'd create one "default" ("blank") EqInfo record to be used in those cases when Equipemnt "has none". The "reserved" InfoId could be "0" or "1"; so you use that for filtering the existence of an "actual" EqInfo's.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

QuestionMocking HttpContext Pin
SreeRama Govind31-Jul-22 18:26
SreeRama Govind31-Jul-22 18:26 
AnswerRe: Mocking HttpContext Pin
Pete O'Hanlon2-Aug-22 0:26
mvaPete O'Hanlon2-Aug-22 0:26 
GeneralRe: Mocking HttpContext Pin
SreeRama Govind3-Aug-22 9:59
SreeRama Govind3-Aug-22 9:59 
QuestionControlDesigner issue Pin
mo149230-Jul-22 1:51
mo149230-Jul-22 1:51 
AnswerRe: ControlDesigner issue Pin
Gerry Schmitz30-Jul-22 6:04
mveGerry Schmitz30-Jul-22 6:04 
GeneralRe: ControlDesigner issue Pin
mo149230-Jul-22 8:35
mo149230-Jul-22 8:35 
GeneralRe: ControlDesigner issue Pin
Gerry Schmitz30-Jul-22 15:49
mveGerry Schmitz30-Jul-22 15:49 
GeneralRe: ControlDesigner issue Pin
mo149231-Jul-22 7:43
mo149231-Jul-22 7:43 
Questionhow to save Image or Bitmap to svg file Pin
Le@rner29-Jul-22 2:51
Le@rner29-Jul-22 2:51 
AnswerRe: how to save Image or Bitmap to svg file Pin
OriginalGriff29-Jul-22 3:19
mveOriginalGriff29-Jul-22 3:19 
AnswerRe: how to save Image or Bitmap to svg file Pin
Gerry Schmitz29-Jul-22 9:38
mveGerry Schmitz29-Jul-22 9:38 
AnswerRe: how to save Image or Bitmap to svg file Pin
Calin Negru30-Jul-22 3:42
Calin Negru30-Jul-22 3:42 
QuestionCan you use sqlite in vs2022? CLOSED Pin
mo149228-Jul-22 14:18
mo149228-Jul-22 14:18 
AnswerRe: Can you use sqlite in vs2022? CLOSED Pin
OriginalGriff28-Jul-22 20:00
mveOriginalGriff28-Jul-22 20:00 
QuestionC# Set voice in Text to Speech Pin
Rockallica27-Jul-22 18:02
Rockallica27-Jul-22 18:02 
AnswerRe: C# Set voice in Text to Speech Pin
OriginalGriff27-Jul-22 21:16
mveOriginalGriff27-Jul-22 21:16 
GeneralRe: C# Set voice in Text to Speech Pin
Rockallica28-Jul-22 9:39
Rockallica28-Jul-22 9:39 

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.