Click here to Skip to main content
15,437,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: Best practise for using EF Entities Pin
Shady George5-Feb-14 10:07
MemberShady George5-Feb-14 10:07 
GeneralRe: Best practise for using EF Entities Pin
Dave Kreskowiak5-Feb-14 10:49
mveDave Kreskowiak5-Feb-14 10:49 
GeneralRe: Best practise for using EF Entities Pin
Shady George5-Feb-14 10:59
MemberShady George5-Feb-14 10:59 
GeneralRe: Best practise for using EF Entities Pin
Dave Kreskowiak5-Feb-14 15:17
mveDave Kreskowiak5-Feb-14 15:17 
GeneralRe: Best practise for using EF Entities Pin
Shady George6-Feb-14 9:38
MemberShady George6-Feb-14 9:38 
GeneralRe: Best practise for using EF Entities Pin
Dave Kreskowiak6-Feb-14 9:53
mveDave Kreskowiak6-Feb-14 9:53 
GeneralRe: Best practise for using EF Entities Pin
Shady George6-Feb-14 10:17
MemberShady George6-Feb-14 10:17 
GeneralRe: Best practise for using EF Entities Pin
Shady George6-Feb-14 11:50
MemberShady George6-Feb-14 11:50 
I've found what I've been doing wrong Dave. When I've been adding the Entity Data model when I started the project, I've been deleting the two .tt template files and setting the code generation strategy in the edmx properties to 'default'. This hasn't been generating the (correct) code to use dBSet. I've still got a lot to learn yet about this, as it's opened a few more cans of worms for me, (For example, what happened to my 'AddObject' methods?)

This highlights my original point. I'm a freelance developer, and have been for about 10 years now. I work by myself, and I have no-one to bounce ideas off, or show me my mistakes. I learnt EF by buying Julia Lerman's book and studying enough of it to get my current project up and running, but not going any further. When I worked for a software house in England, I used to dread code review day, but I can see now how useful it was.

I know I'm still missing a lot, and I would be grateful if you could point me to a good tutorial about the correct way to deal with Entity Framework, and .tt files and all.

Thanks for all your patience Dave, it's been much appreciated.
George
GeneralRe: Best practise for using EF Entities Pin
Dave Kreskowiak6-Feb-14 12:14
mveDave Kreskowiak6-Feb-14 12:14 
AnswerRe: Best practise for using EF Entities Pin
cseder2-Feb-14 15:23
Membercseder2-Feb-14 15:23 
QuestionC# and databse connectivity issue urgent?? Pin
Member 105648501-Feb-14 2:58
MemberMember 105648501-Feb-14 2:58 
AnswerRe: C# and databse connectivity issue urgent?? Pin
OriginalGriff1-Feb-14 3:09
mveOriginalGriff1-Feb-14 3:09 
GeneralRe: C# and databse connectivity issue urgent?? Pin
Member 105648501-Feb-14 3:14
MemberMember 105648501-Feb-14 3:14 
GeneralRe: C# and databse connectivity issue urgent?? Pin
OriginalGriff1-Feb-14 3:18
mveOriginalGriff1-Feb-14 3:18 
GeneralRe: C# and databse connectivity issue urgent?? Pin
Member 105648501-Feb-14 3:23
MemberMember 105648501-Feb-14 3:23 
GeneralRe: C# and databse connectivity issue urgent?? Pin
OriginalGriff1-Feb-14 3:30
mveOriginalGriff1-Feb-14 3:30 
GeneralRe: C# and databse connectivity issue urgent?? Pin
Member 105648501-Feb-14 3:35
MemberMember 105648501-Feb-14 3:35 
GeneralRe: C# and databse connectivity issue urgent?? Pin
OriginalGriff1-Feb-14 3:46
mveOriginalGriff1-Feb-14 3:46 
GeneralRe: C# and databse connectivity issue urgent?? Pin
Member 105648501-Feb-14 3:53
MemberMember 105648501-Feb-14 3:53 
GeneralRe: C# and databse connectivity issue urgent?? Pin
OriginalGriff1-Feb-14 3:58
mveOriginalGriff1-Feb-14 3:58 
RantRe: C# and databse connectivity issue urgent?? Pin
Eddy Vluggen1-Feb-14 7:04
professionalEddy Vluggen1-Feb-14 7:04 
QuestionIMultiValueConverter and IValueConverter Interface lagging (slowness) Pin
cpquest1-Feb-14 2:33
Membercpquest1-Feb-14 2:33 
AnswerRe: IMultiValueConverter and IValueConverter Interface lagging (slowness) Pin
Eddy Vluggen1-Feb-14 7:00
professionalEddy Vluggen1-Feb-14 7:00 
GeneralRe: IMultiValueConverter and IValueConverter Interface lagging (slowness) Pin
cpquest2-Feb-14 16:31
Membercpquest2-Feb-14 16:31 
GeneralRe: IMultiValueConverter and IValueConverter Interface lagging (slowness) Pin
Eddy Vluggen2-Feb-14 22:38
professionalEddy Vluggen2-Feb-14 22:38 

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.