Click here to Skip to main content
15,884,628 members
Home / Discussions / C#
   

C#

 
SuggestionRe: Extension method for a list Pin
Kornfeld Eliyahu Peter11-Dec-14 4:48
professionalKornfeld Eliyahu Peter11-Dec-14 4:48 
AnswerRe: Extension method for a list Pin
SledgeHammer0111-Dec-14 4:57
SledgeHammer0111-Dec-14 4:57 
GeneralRe: Extension method for a list Pin
Richard Deeming11-Dec-14 5:06
mveRichard Deeming11-Dec-14 5:06 
GeneralRe: Extension method for a list Pin
SledgeHammer0111-Dec-14 5:15
SledgeHammer0111-Dec-14 5:15 
AnswerRe: Extension method for a list Pin
BillWoodruff11-Dec-14 5:14
professionalBillWoodruff11-Dec-14 5:14 
GeneralRe: Extension method for a list Pin
Agent__00711-Dec-14 16:31
professionalAgent__00711-Dec-14 16:31 
GeneralRe: Extension method for a list Pin
BillWoodruff11-Dec-14 18:20
professionalBillWoodruff11-Dec-14 18:20 
QuestionEF Code-First to Existing Database Pin
jasonalien10-Dec-14 22:10
jasonalien10-Dec-14 22: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 20:10
mveMaciej Los11-Dec-14 20:10 
Questionsuperimpose two pictureboxes C# Pin
Member 1045669210-Dec-14 19:32
Member 1045669210-Dec-14 19:32 
AnswerRe: superimpose two pictureboxes C# Pin
BillWoodruff10-Dec-14 22:13
professionalBillWoodruff10-Dec-14 22:13 
QuestionA simple example using a USB plug and unplug (to next plugin) condition... Pin
Member 1127546610-Dec-14 7:29
Member 1127546610-Dec-14 7:29 
AnswerRe: A simple example using a USB plug and unplug (to next plugin) condition... Pin
Eddy Vluggen10-Dec-14 7:35
professionalEddy Vluggen10-Dec-14 7:35 
QuestionReg. Regular Expression Pin
Dhimant B10-Dec-14 2:51
Dhimant B10-Dec-14 2:51 
AnswerRe: Reg. Regular Expression Pin
OriginalGriff10-Dec-14 3:05
mveOriginalGriff10-Dec-14 3:05 
GeneralRe: Reg. Regular Expression Pin
Dhimant B10-Dec-14 18:58
Dhimant B10-Dec-14 18:58 
GeneralRe: Reg. Regular Expression Pin
OriginalGriff11-Dec-14 0:21
mveOriginalGriff11-Dec-14 0:21 
SuggestionRe: Reg. Regular Expression Pin
Matt T Heffron11-Dec-14 8:34
professionalMatt T Heffron11-Dec-14 8:34 
SuggestionRe: Reg. Regular Expression Pin
Matt T Heffron11-Dec-14 15:33
professionalMatt T Heffron11-Dec-14 15:33 
SuggestionRe: Reg. Regular Expression Pin
Matt T Heffron11-Dec-14 8:35
professionalMatt T Heffron11-Dec-14 8:35 
AnswerRe: Reg. Regular Expression Pin
Agent__00710-Dec-14 21:07
professionalAgent__00710-Dec-14 21:07 
AnswerRe: Reg. Regular Expression Pin
Matt T Heffron12-Dec-14 7:04
professionalMatt T Heffron12-Dec-14 7:04 
GeneralRe: Reg. Regular Expression Pin
jschell12-Dec-14 12:08
jschell12-Dec-14 12:08 
QuestionRevit macro with if/else command Pin
William Wydock9-Dec-14 11:15
William Wydock9-Dec-14 11:15 
AnswerRe: Revit macro with if/else command Pin
BillWoodruff9-Dec-14 14:21
professionalBillWoodruff9-Dec-14 14: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.