Click here to Skip to main content
14,387,840 members

.NET Framework

 
GeneralRe: Changing the Include function of Entity Framework if association table is added Pin
simpledeveloper21-Nov-19 7:51
Membersimpledeveloper21-Nov-19 7:51 
QuestionMessage Closed Pin
20-Nov-19 1:05
Memberwils701820-Nov-19 1:05 
QuestionMessage Closed Pin
20-Nov-19 1:04
Memberwils701820-Nov-19 1:04 
QuestionMessage Closed Pin
20-Nov-19 1:04
Memberwils701820-Nov-19 1:04 
QuestionUsing Linq Join within the Where clause of another Linq Query Pin
simpledeveloper19-Nov-19 10:44
Membersimpledeveloper19-Nov-19 10:44 
AnswerRe: Using Linq Join within the Where clause of another Linq Query Pin
Gerry Schmitz20-Nov-19 8:00
mveGerry Schmitz20-Nov-19 8:00 
GeneralRe: Using Linq Join within the Where clause of another Linq Query Pin
simpledeveloper20-Nov-19 8:33
Membersimpledeveloper20-Nov-19 8:33 
QuestionDropping Columns referenced by other Tables Pin
simpledeveloper19-Nov-19 7:57
Membersimpledeveloper19-Nov-19 7: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 7:54
mveGerry Schmitz20-Nov-19 7:54 
GeneralRe: Dropping Columns referenced by other Tables Pin
simpledeveloper20-Nov-19 8:39
Membersimpledeveloper20-Nov-19 8:39 
GeneralRe: Dropping Columns referenced by other Tables Pin
simpledeveloper21-Nov-19 17:36
Membersimpledeveloper21-Nov-19 17:36 
QuestionLinq to check before it creates select Pin
simpledeveloper15-Nov-19 15:04
Membersimpledeveloper15-Nov-19 15:04 
SuggestionRe: Linq to check before it creates select Pin
Richard Deeming17-Nov-19 23:47
mveRichard Deeming17-Nov-19 23:47 
QuestionMessage Closed Pin
15-Nov-19 2:05
Memberangelosia15-Nov-19 2:05 
QuestionMessage Closed Pin
15-Nov-19 2:04
Memberangelosia15-Nov-19 2:04 
QuestionMessage Closed Pin
15-Nov-19 2:03
Memberangelosia15-Nov-19 2:03 
QuestionMessage Closed Pin
14-Nov-19 0:58
Memberjems mariya14-Nov-19 0:58 
QuestionVB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 1:31
MemberEmanuela Meraglia8-Nov-19 1:31 
AnswerRe: VB6 dll calls from WCF Pin
Richard MacCutchan8-Nov-19 2:30
mveRichard MacCutchan8-Nov-19 2:30 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 3:11
MemberEmanuela Meraglia8-Nov-19 3:11 
GeneralMessage Closed Pin
19-Nov-19 20:07
professionalandreelew9219-Nov-19 20:07 
AnswerRe: VB6 dll calls from WCF Pin
Richard Deeming8-Nov-19 2:31
mveRichard Deeming8-Nov-19 2:31 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 3:11
MemberEmanuela Meraglia8-Nov-19 3:11 
GeneralRe: VB6 dll calls from WCF Pin
Richard Deeming8-Nov-19 4:32
mveRichard Deeming8-Nov-19 4:32 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 4:44
MemberEmanuela Meraglia8-Nov-19 4:44 

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.