Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
QuestionMessage Removed Pin
14-May-15 3:16
professionalN_tro_P14-May-15 3:16 
AnswerRe: Reflection DbSet Remove Pin
Richard Deeming14-May-15 4:41
mveRichard Deeming14-May-15 4:41 
GeneralMessage Removed Pin
14-May-15 5:40
professionalN_tro_P14-May-15 5:40 
GeneralRe: Reflection DbSet Remove Pin
Richard Deeming14-May-15 6:30
mveRichard Deeming14-May-15 6:30 
GeneralRe: Reflection DbSet Remove Pin
Sascha Lefèvre14-May-15 8:13
professionalSascha Lefèvre14-May-15 8:13 
GeneralRe: Reflection DbSet Remove Pin
Richard Deeming14-May-15 8:39
mveRichard Deeming14-May-15 8:39 
GeneralMessage Removed Pin
18-May-15 4:42
professionalN_tro_P18-May-15 4:42 
GeneralRe: Reflection DbSet Remove Pin
Richard Deeming18-May-15 4:53
mveRichard Deeming18-May-15 4:53 
It should work, providing there aren't multiple paths by which a row could be deleted. If there are, then you'll get an error from SQL:

Introducing FOREIGN KEY constraint '...' on table '...' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.

You'll obviously need to update the database to enable cascade delete. Assuming you're using migrations[^], you should be able to do that without dropping the database.



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


QuestionHow to play webm file in windows form application? Pin
Member 1161266213-May-15 17:59
Member 1161266213-May-15 17:59 
AnswerRe: How to play webm file in windows form application? Pin
Richard Deeming14-May-15 1:13
mveRichard Deeming14-May-15 1:13 
Questiongrouping is not working Pin
hussain54813-May-15 6:32
hussain54813-May-15 6:32 
Answer[REPOST] Pin
Sascha Lefèvre13-May-15 7:41
professionalSascha Lefèvre13-May-15 7:41 
AnswerRe: grouping is not working Pin
OriginalGriff13-May-15 8:10
mveOriginalGriff13-May-15 8:10 
QuestionShould choose ASP.NET MVC or Xamarin Pin
Ashfaque Hussain13-May-15 4:12
Ashfaque Hussain13-May-15 4:12 
GeneralRe: Should choose ASP.NET MVC or Xamarin Pin
Richard MacCutchan13-May-15 4:31
mveRichard MacCutchan13-May-15 4:31 
GeneralRe: Should choose ASP.NET MVC or Xamarin Pin
Ashfaque Hussain13-May-15 5:44
Ashfaque Hussain13-May-15 5:44 
GeneralRe: Should choose ASP.NET MVC or Xamarin Pin
Richard MacCutchan13-May-15 7:39
mveRichard MacCutchan13-May-15 7:39 
AnswerRe: Should choose ASP.NET MVC or Xamarin Pin
Hitesh Sharma _13-May-15 4:52
Hitesh Sharma _13-May-15 4:52 
GeneralRe: Should choose ASP.NET MVC or Xamarin Pin
Ashfaque Hussain13-May-15 5:45
Ashfaque Hussain13-May-15 5:45 
QuestionC# solving any puzzle with Genetic Algorithms Pin
Member 1168221212-May-15 14:41
Member 1168221212-May-15 14:41 
AnswerRe: C# solving any puzzle with Genetic Algorithms Pin
Sascha Lefèvre12-May-15 15:09
professionalSascha Lefèvre12-May-15 15:09 
QuestionMicrosoft Dynamic AX 2012 Pin
shabeercp11-May-15 19:10
shabeercp11-May-15 19:10 
SuggestionRe: Microsoft Dynamic AX 2012 Pin
Richard MacCutchan11-May-15 21:18
mveRichard MacCutchan11-May-15 21:18 
QuestionMVC3 - Linq query to View Pin
Member 1156707911-May-15 7:25
Member 1156707911-May-15 7:25 
AnswerRe: MVC3 - Linq query to View Pin
Atish Dipongkor11-May-15 7:48
professionalAtish Dipongkor11-May-15 7:48 

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.