Click here to Skip to main content
15,881,413 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How to know which Id belongs to which object? Pin
simpledeveloper2-Apr-20 6:30
simpledeveloper2-Apr-20 6:30 
QuestionAn expression tree lambda may not contain a null propagating operator Pin
simpledeveloper27-Mar-20 21:38
simpledeveloper27-Mar-20 21:38 
AnswerRe: An expression tree lambda may not contain a null propagating operator Pin
Richard MacCutchan27-Mar-20 23:48
mveRichard MacCutchan27-Mar-20 23:48 
AnswerRe: An expression tree lambda may not contain a null propagating operator Pin
Bohdan Stupak28-Mar-20 4:38
professionalBohdan Stupak28-Mar-20 4:38 
QuestionColumn length change using Entity Framework Code First Pin
simpledeveloper17-Mar-20 13:59
simpledeveloper17-Mar-20 13:59 
AnswerRe: Column length change using Entity Framework Code First Pin
Gerry Schmitz17-Mar-20 16:22
mveGerry Schmitz17-Mar-20 16:22 
GeneralRe: Column length change using Entity Framework Code First Pin
simpledeveloper18-Mar-20 3:28
simpledeveloper18-Mar-20 3:28 
AnswerRe: Column length change using Entity Framework Code First Pin
Richard Deeming17-Mar-20 23:52
mveRichard Deeming17-Mar-20 23:52 
simpledeveloper wrote:
in committing it on Git or over written by the remote branch

If you've got multiple developers generating migrations at the same time, things can get very confused. Especially if you're all using the same development database instance.

Code First Migrations in Team Environments - EF6 | Microsoft Docs[^]

simpledeveloper wrote:
Even though I made it EventComment 1000 in Database then deleted my migration file - then ran the add migration

As explained in the article above, Add-Migration doesn't look at the database; it looks at the model snapshot stored with the last migration. Manually changing the database won't cause EF to generate a migration to change it back.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Column length change using Entity Framework Code First Pin
simpledeveloper18-Mar-20 3:14
simpledeveloper18-Mar-20 3:14 
GeneralRe: Column length change using Entity Framework Code First Pin
Richard Deeming18-Mar-20 3:55
mveRichard Deeming18-Mar-20 3:55 
GeneralRe: Column length change using Entity Framework Code First Pin
simpledeveloper18-Mar-20 8:43
simpledeveloper18-Mar-20 8:43 
GeneralRe: Column length change using Entity Framework Code First Pin
Richard Deeming18-Mar-20 8:48
mveRichard Deeming18-Mar-20 8:48 
GeneralRe: Column length change using Entity Framework Code First Pin
simpledeveloper19-Mar-20 5:54
simpledeveloper19-Mar-20 5:54 
Questionc# forms (holy crap i'm not ready for this) Pin
Uranium-23513-Mar-20 23:51
Uranium-23513-Mar-20 23:51 
AnswerRe: c# forms (holy crap i'm not ready for this) Pin
Richard MacCutchan14-Mar-20 1:07
mveRichard MacCutchan14-Mar-20 1:07 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Uranium-23514-Mar-20 4:37
Uranium-23514-Mar-20 4:37 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Dave Kreskowiak14-Mar-20 4:58
mveDave Kreskowiak14-Mar-20 4:58 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Uranium-23514-Mar-20 5:35
Uranium-23514-Mar-20 5:35 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Dave Kreskowiak14-Mar-20 6:30
mveDave Kreskowiak14-Mar-20 6:30 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Richard MacCutchan14-Mar-20 6:11
mveRichard MacCutchan14-Mar-20 6:11 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Uranium-23514-Mar-20 6:51
Uranium-23514-Mar-20 6:51 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Richard MacCutchan14-Mar-20 7:02
mveRichard MacCutchan14-Mar-20 7:02 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Uranium-23514-Mar-20 20:42
Uranium-23514-Mar-20 20:42 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Uranium-23514-Mar-20 20:25
Uranium-23514-Mar-20 20:25 
GeneralRe: c# forms (holy crap i'm not ready for this) Pin
Richard MacCutchan14-Mar-20 22:10
mveRichard MacCutchan14-Mar-20 22:10 

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.