Click here to Skip to main content
15,509,706 members
Home / Discussions / C#
   

C#

 
SuggestionRe: Extension method for a list Pin
Kornfeld Eliyahu Peter11-Dec-14 5:48
professionalKornfeld Eliyahu Peter11-Dec-14 5:48 
AnswerRe: Extension method for a list Pin
SledgeHammer0111-Dec-14 5:57
SledgeHammer0111-Dec-14 5:57 
GeneralRe: Extension method for a list Pin
Richard Deeming11-Dec-14 6:06
mveRichard Deeming11-Dec-14 6:06 
GeneralRe: Extension method for a list Pin
SledgeHammer0111-Dec-14 6:15
SledgeHammer0111-Dec-14 6:15 
AnswerRe: Extension method for a list Pin
BillWoodruff11-Dec-14 6:14
mveBillWoodruff11-Dec-14 6:14 
GeneralRe: Extension method for a list Pin
Agent__00711-Dec-14 17:31
professionalAgent__00711-Dec-14 17:31 
GeneralRe: Extension method for a list Pin
BillWoodruff11-Dec-14 19:20
mveBillWoodruff11-Dec-14 19:20 
QuestionEF Code-First to Existing Database Pin
jasonalien10-Dec-14 23:10
jasonalien10-Dec-14 23:10 
Hello all,
I have applied EF Code-First to Existing Database like this :
1- Created an ADO.NET Entity Data Model
2- Chose Code First from Database

All of the classes generated correctly, except there are a lot of [Key] tags before most of the properties. Should I remove them from unnecessary ones?

Another question is, how can I be sure that EF kept the one-to-many or many-to-many relationships? There is nothing like :
C#
public virtual ICollection<Post> Posts { get; set; }


Thanks in advance.
AnswerRe: EF Code-First to Existing Database Pin
Maciej Los11-Dec-14 21:10
mveMaciej Los11-Dec-14 21:10 
Questionsuperimpose two pictureboxes C# Pin
Member 1045669210-Dec-14 20:32
Member 1045669210-Dec-14 20:32 
AnswerRe: superimpose two pictureboxes C# Pin
BillWoodruff10-Dec-14 23:13
mveBillWoodruff10-Dec-14 23:13 
QuestionA simple example using a USB plug and unplug (to next plugin) condition... Pin
Member 1127546610-Dec-14 8:29
Member 1127546610-Dec-14 8:29 
AnswerRe: A simple example using a USB plug and unplug (to next plugin) condition... Pin
Eddy Vluggen10-Dec-14 8:35
professionalEddy Vluggen10-Dec-14 8:35 
QuestionReg. Regular Expression Pin
Dhimant B10-Dec-14 3:51
Dhimant B10-Dec-14 3:51 
AnswerRe: Reg. Regular Expression Pin
OriginalGriff10-Dec-14 4:05
mveOriginalGriff10-Dec-14 4:05 
GeneralRe: Reg. Regular Expression Pin
Dhimant B10-Dec-14 19:58
Dhimant B10-Dec-14 19:58 
GeneralRe: Reg. Regular Expression Pin
OriginalGriff11-Dec-14 1:21
mveOriginalGriff11-Dec-14 1:21 
SuggestionRe: Reg. Regular Expression Pin
Matt T Heffron11-Dec-14 9:34
professionalMatt T Heffron11-Dec-14 9:34 
SuggestionRe: Reg. Regular Expression Pin
Matt T Heffron11-Dec-14 16:33
professionalMatt T Heffron11-Dec-14 16:33 
SuggestionRe: Reg. Regular Expression Pin
Matt T Heffron11-Dec-14 9:35
professionalMatt T Heffron11-Dec-14 9:35 
AnswerRe: Reg. Regular Expression Pin
Agent__00710-Dec-14 22:07
professionalAgent__00710-Dec-14 22:07 
AnswerRe: Reg. Regular Expression Pin
Matt T Heffron12-Dec-14 8:04
professionalMatt T Heffron12-Dec-14 8:04 
GeneralRe: Reg. Regular Expression Pin
jschell12-Dec-14 13:08
jschell12-Dec-14 13:08 
QuestionRevit macro with if/else command Pin
William Wydock9-Dec-14 12:15
William Wydock9-Dec-14 12:15 
AnswerRe: Revit macro with if/else command Pin
BillWoodruff9-Dec-14 15:21
mveBillWoodruff9-Dec-14 15:21 

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.