Archive

Posts Tagged ‘.net 4.0’

The type ‘System.Func‘ exists in both ‘c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll’ and ‘c:\WINDOWS\microsoft.net\Framework64\v4.0.30319\mscorlib.dll’

May 31st, 2010 ayah No comments

if your having trouble like this with your Visual Studio 2010 while you have to target .net 3.5, you can do following steps

1. Unload your project within visual studio 2010

2. Edit your project

3. add below code within your project

<Reference Include=”System” />
<Reference Include=”System.Core”>
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>

Categories: C#, asp.net Tags: , ,

What’s support & What’s not in Entity Framework 4.0

May 25th, 2009 ayah No comments

Well I can give you some information, because all this has already been announced through various means including the EF Design Blog :

POCO – yes
Enum Support – unlikely
EDM Designer Enhancements – yes, lots.
Object Services API enhancements – yes, not sure what you are asking for exactly, but there have been numerous improvements to make life easier.
L2E Math function mapping – not sure exactly what you mean but we have much better support for function in L2E now, you can even register your own ‘stubs’ for database functions and even ‘model’ functions.
ForeignKey support – yes
Custom Code Generation – yes (using T4)
Table Value Functions – unlikely, but see Model Defined Functions below.

Others (off the top of my head, not an exhaustive list):
Model Defined Functions (similar to a TVF because they are composable, big difference is that they are defined in the CSDL and as a result are in terms of the Conceptual Model not the Storage Model).
Model First (i.e. create a model and build a database from the model)
ComplexType support in the designer
- Better support for Stored Procedures

Pasted from <http://www.thedatafarm.com/Blog/2009/05/13/EF4WhatIsAndIsNotSupported.aspx>