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

.NET (Core and Framework)

 
QuestionChanging the Include function of Entity Framework if association table is added Pin
simpledeveloper20-Nov-19 7:32
simpledeveloper20-Nov-19 7:32 
AnswerRe: Changing the Include function of Entity Framework if association table is added Pin
Richard MacCutchan20-Nov-19 9:01
mveRichard MacCutchan20-Nov-19 9:01 
GeneralRe: Changing the Include function of Entity Framework if association table is added Pin
simpledeveloper20-Nov-19 10:30
simpledeveloper20-Nov-19 10:30 
GeneralRe: Changing the Include function of Entity Framework if association table is added Pin
simpledeveloper21-Nov-19 6:51
simpledeveloper21-Nov-19 6:51 
QuestionUsing Linq Join within the Where clause of another Linq Query Pin
simpledeveloper19-Nov-19 9:44
simpledeveloper19-Nov-19 9:44 
AnswerRe: Using Linq Join within the Where clause of another Linq Query Pin
Gerry Schmitz20-Nov-19 7:00
mveGerry Schmitz20-Nov-19 7:00 
GeneralRe: Using Linq Join within the Where clause of another Linq Query Pin
simpledeveloper20-Nov-19 7:33
simpledeveloper20-Nov-19 7:33 
QuestionDropping Columns referenced by other Tables Pin
simpledeveloper19-Nov-19 6:57
simpledeveloper19-Nov-19 6:57 
Hi I have 3 Tables Cases, Programs, Violations, now all these Tables are related as ManyToMany with Notice Table, but earlier they were having OneToMany, but now they are related ManyToMany, hence I moved them all to the Associated Table to handle it, which is called as ManyToMany table which has PK, ParentyEntity, ParentEntityId (which is PK of Notices table), ChildEntity, ChildEntityId - I have to do it with Entity Framework Code First Migrations - hence I am trying to be very cautious here. What am I planning are 1.Take backup of the Database 2. Migrate Data from tables to ManyToMany table 3. Record all the Foreign Key Constraints first (like generate scripts for those FKs references) then drop all those Foreign Keys 4. Then Drop tables using Entity Framework Code First Migrations.

Can somebody please help me if I am missing anything and are there any easy fool proof ways to do the same and how to drop columns using Entity Framework Migrations - I have lost touch with Code First approach, I understand its tough and needed very careful implementation - any suggestion any help would be very very helpful. Actually the Database has already have been implementing this - but they didn't drop the old columns and didn't delete the data from old columns - hence its creating or showing inconsistent Data, the old programmer has left it in between - need a lot of suggestions and support - thanks a lot.
AnswerRe: Dropping Columns referenced by other Tables Pin
Gerry Schmitz20-Nov-19 6:54
mveGerry Schmitz20-Nov-19 6:54 
GeneralRe: Dropping Columns referenced by other Tables Pin
simpledeveloper20-Nov-19 7:39
simpledeveloper20-Nov-19 7:39 
GeneralRe: Dropping Columns referenced by other Tables Pin
simpledeveloper21-Nov-19 16:36
simpledeveloper21-Nov-19 16:36 
QuestionLinq to check before it creates select Pin
simpledeveloper15-Nov-19 14:04
simpledeveloper15-Nov-19 14:04 
SuggestionRe: Linq to check before it creates select Pin
Richard Deeming17-Nov-19 22:47
mveRichard Deeming17-Nov-19 22:47 
QuestionVB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 0:31
Emanuela Meraglia8-Nov-19 0:31 
AnswerRe: VB6 dll calls from WCF Pin
Richard MacCutchan8-Nov-19 1:30
mveRichard MacCutchan8-Nov-19 1:30 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 2:11
Emanuela Meraglia8-Nov-19 2:11 
AnswerRe: VB6 dll calls from WCF Pin
Richard Deeming8-Nov-19 1:31
mveRichard Deeming8-Nov-19 1:31 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 2:11
Emanuela Meraglia8-Nov-19 2:11 
GeneralRe: VB6 dll calls from WCF Pin
Richard Deeming8-Nov-19 3:32
mveRichard Deeming8-Nov-19 3:32 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 3:44
Emanuela Meraglia8-Nov-19 3:44 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 2:14
Emanuela Meraglia8-Nov-19 2:14 
GeneralRe: VB6 dll calls from WCF Pin
simpledeveloper20-Nov-19 7:49
simpledeveloper20-Nov-19 7:49 
QuestionRe: VB6 dll calls from WCF Pin
Eddy Vluggen8-Nov-19 1:39
professionalEddy Vluggen8-Nov-19 1:39 
AnswerRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 2:23
Emanuela Meraglia8-Nov-19 2:23 
GeneralRe: VB6 dll calls from WCF Pin
Eddy Vluggen8-Nov-19 2:27
professionalEddy Vluggen8-Nov-19 2:27 

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.