Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
AnswerRe: Simple Broadcast Message on Local Host Pin
CodaNV11-Dec-22 16:09
CodaNV11-Dec-22 16:09 
QuestionMy winform resize when i open an OleDbConnection Pin
Le@rner27-Nov-22 18:42
Le@rner27-Nov-22 18:42 
AnswerRe: My winform resize when i open an OleDbConnection Pin
Pete O'Hanlon27-Nov-22 21:30
mvePete O'Hanlon27-Nov-22 21:30 
QuestionConcurrent Containers Pin
Richard Andrew x6424-Nov-22 14:47
professionalRichard Andrew x6424-Nov-22 14:47 
AnswerRe: Concurrent Containers Pin
Richard Deeming24-Nov-22 22:02
mveRichard Deeming24-Nov-22 22:02 
GeneralRe: Concurrent Containers Pin
Richard Andrew x6425-Nov-22 2:18
professionalRichard Andrew x6425-Nov-22 2:18 
AnswerRe: Concurrent Containers Pin
Gerry Schmitz25-Nov-22 5:10
mveGerry Schmitz25-Nov-22 5:10 
GeneralRe: Concurrent Containers Pin
Richard Andrew x6425-Nov-22 5:24
professionalRichard Andrew x6425-Nov-22 5:24 
QuestionEntity Framework Core 6 Problem Pin
Kevin Marois24-Nov-22 9:01
professionalKevin Marois24-Nov-22 9:01 
AnswerRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak24-Nov-22 9:41
mveDave Kreskowiak24-Nov-22 9:41 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois24-Nov-22 10:19
professionalKevin Marois24-Nov-22 10:19 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak24-Nov-22 14:48
mveDave Kreskowiak24-Nov-22 14:48 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois24-Nov-22 15:57
professionalKevin Marois24-Nov-22 15:57 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak24-Nov-22 16:03
mveDave Kreskowiak24-Nov-22 16:03 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois25-Nov-22 19:16
professionalKevin Marois25-Nov-22 19:16 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak26-Nov-22 5:20
mveDave Kreskowiak26-Nov-22 5:20 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois26-Nov-22 9:20
professionalKevin Marois26-Nov-22 9:20 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak26-Nov-22 9:24
mveDave Kreskowiak26-Nov-22 9:24 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois26-Nov-22 10:24
professionalKevin Marois26-Nov-22 10:24 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak26-Nov-22 11:31
mveDave Kreskowiak26-Nov-22 11:31 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois26-Nov-22 11:50
professionalKevin Marois26-Nov-22 11:50 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois27-Nov-22 7:56
professionalKevin Marois27-Nov-22 7:56 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak27-Nov-22 8:38
mveDave Kreskowiak27-Nov-22 8:38 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois27-Nov-22 9:16
professionalKevin Marois27-Nov-22 9:16 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois27-Nov-22 9:31
professionalKevin Marois27-Nov-22 9:31 
OK, I think I have this now.

I did the migration and update, and the DB was created and Department and Employee tables added.

Next, I added a Companies entity, linked it to Departments, and ran
dotnet ef migrations add AddCompanies
dotnet ef database update
and the Db is now up to date.

So I need to run these 2 commands each time I make a change?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

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.