Entity Framework 6 - first steps to a full xBase solution
Posted: Sun Dec 11, 2016 1:37 pm
Hi Robert, Team, and guys,
Well, I now have my head back into 'Entity Framework 6' (as version 7 seems a long way off, and will most likely be 'Entity Core' instead, according to wen articles etc..
Still 'EF6' is working well in C#, and is set to be around for quite some time according to reliable sources.
So I am first trying to convert my old Vulcan / C# 'hybrid' Cologne apps into fully coded X# ones. In the past I used a 'thin' DAL (data access layer) where the LINQ stuff was done in C# and the other stuff in Vulcan. Nice WPF data bound example.
I have some of code compiling with the X# compiler, but now I am having some problems with the 'Configuration' classes, when I try and code them in X# from CSharp. And Fabrice's Reflector plug-in gives me an amazing complex and large translation ;-0( It may be correct BUT will put guys off EF for life I would guess ;-0)
Can you just look at the first three attached small images to see if you can see what I can do (easily) to put things right ?
Here is the CSharp code :-
And now you can see what I was trying :-
Here below (included) is an image of my best try as well as the errors :-
And for any who wish to see the Reflector details ;-0))) see below (if you can read the detail !?
HELP most welcomed.
Regards,
Phil.
Well, I now have my head back into 'Entity Framework 6' (as version 7 seems a long way off, and will most likely be 'Entity Core' instead, according to wen articles etc..
Still 'EF6' is working well in C#, and is set to be around for quite some time according to reliable sources.
So I am first trying to convert my old Vulcan / C# 'hybrid' Cologne apps into fully coded X# ones. In the past I used a 'thin' DAL (data access layer) where the LINQ stuff was done in C# and the other stuff in Vulcan. Nice WPF data bound example.
I have some of code compiling with the X# compiler, but now I am having some problems with the 'Configuration' classes, when I try and code them in X# from CSharp. And Fabrice's Reflector plug-in gives me an amazing complex and large translation ;-0( It may be correct BUT will put guys off EF for life I would guess ;-0)
Can you just look at the first three attached small images to see if you can see what I can do (easily) to put things right ?
Here is the CSharp code :-
And now you can see what I was trying :-
Here below (included) is an image of my best try as well as the errors :-
And for any who wish to see the Reflector details ;-0))) see below (if you can read the detail !?
HELP most welcomed.
Regards,
Phil.