-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Are non-parameterless constructors and initializers supported by this latest .net core version from EF? #5124
Comments
@StefH we're not quite sure what you are asking, could you elaborate? If you want parameterless constructors on entity types, then that is supported (it's actually all that is supported right now) |
Sorry for the confusion. Second question : is there public code inside corefx/coreclr which lets you easily create an anonymous type based on properties names and property types ? Currently I'm using my own code (https://github.com/StefH/System.Linq.Dynamic.Core/blob/master/src/System.Linq.Dynamic.Core/DynamicClassFactory.cs) to create an anonymous type. |
@StefH - regarding the original question... #240 is tracking the ability to control how types are constructed and populated (including constructor arguments). It will be a post 1.0.0 feature. The question about dynamic types is probably best asked at http://github.com/dotnet/corefx/ |
I did observe in some test-code that I wrote, that it seems that this latest EF can handle this ? Or is this still not supported ?
The text was updated successfully, but these errors were encountered: