Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
QuestionHow to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 20:38
Code4Ever31-Jul-22 20:38 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard MacCutchan31-Jul-22 21:37
mveRichard MacCutchan31-Jul-22 21:37 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 21:49
Code4Ever31-Jul-22 21:49 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard MacCutchan31-Jul-22 22:06
mveRichard MacCutchan31-Jul-22 22:06 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Code4Ever31-Jul-22 22:17
Code4Ever31-Jul-22 22:17 
GeneralRe: How to set null value to a FOREIGN KEY using EF Core Pin
Dave Kreskowiak1-Aug-22 4:23
mveDave Kreskowiak1-Aug-22 4:23 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Richard Deeming1-Aug-22 0:25
mveRichard Deeming1-Aug-22 0:25 
AnswerRe: How to set null value to a FOREIGN KEY using EF Core Pin
Gerry Schmitz1-Aug-22 7:02
mveGerry Schmitz1-Aug-22 7: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 17:26
SreeRama Govind31-Jul-22 17:26 
AnswerRe: Mocking HttpContext Pin
Pete O'Hanlon1-Aug-22 23:26
mvePete O'Hanlon1-Aug-22 23:26 
GeneralRe: Mocking HttpContext Pin
SreeRama Govind3-Aug-22 8:59
SreeRama Govind3-Aug-22 8:59 
QuestionControlDesigner issue Pin
mo149230-Jul-22 0:51
mo149230-Jul-22 0:51 
AnswerRe: ControlDesigner issue Pin
Gerry Schmitz30-Jul-22 5:04
mveGerry Schmitz30-Jul-22 5:04 
GeneralRe: ControlDesigner issue Pin
mo149230-Jul-22 7:35
mo149230-Jul-22 7:35 
GeneralRe: ControlDesigner issue Pin
Gerry Schmitz30-Jul-22 14:49
mveGerry Schmitz30-Jul-22 14:49 
GeneralRe: ControlDesigner issue Pin
mo149231-Jul-22 6:43
mo149231-Jul-22 6:43 
Questionhow to save Image or Bitmap to svg file Pin
Le@rner29-Jul-22 1:51
Le@rner29-Jul-22 1:51 
AnswerRe: how to save Image or Bitmap to svg file Pin
OriginalGriff29-Jul-22 2:19
mveOriginalGriff29-Jul-22 2:19 
AnswerRe: how to save Image or Bitmap to svg file Pin
Gerry Schmitz29-Jul-22 8:38
mveGerry Schmitz29-Jul-22 8:38 
AnswerRe: how to save Image or Bitmap to svg file Pin
Calin Negru30-Jul-22 2:42
Calin Negru30-Jul-22 2:42 
QuestionCan you use sqlite in vs2022? CLOSED Pin
mo149228-Jul-22 13:18
mo149228-Jul-22 13:18 
AnswerRe: Can you use sqlite in vs2022? CLOSED Pin
OriginalGriff28-Jul-22 19:00
mveOriginalGriff28-Jul-22 19:00 
QuestionC# Set voice in Text to Speech Pin
Rockallica27-Jul-22 17:02
Rockallica27-Jul-22 17:02 
AnswerRe: C# Set voice in Text to Speech Pin
OriginalGriff27-Jul-22 20:16
mveOriginalGriff27-Jul-22 20:16 
GeneralRe: C# Set voice in Text to Speech Pin
Rockallica28-Jul-22 8:39
Rockallica28-Jul-22 8: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.