Bug #53188 | Entity Framework edmxgenerator does not set DefaultValue from the schema default | ||
---|---|---|---|
Submitted: | 27 Apr 2010 8:02 | Modified: | 6 Apr 2011 20:39 |
Reporter: | Michael Pritchard | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 6.3.1, 6.3.5, 6.3.6 | OS: | Windows (Vista SP2) |
Assigned to: | Julio Casal | CPU Architecture: | Any |
[27 Apr 2010 8:02]
Michael Pritchard
[27 Apr 2010 8:06]
Michael Pritchard
test solution
Attachment: TestEntities.zip (application/x-zip-compressed, text), 36.38 KiB.
[5 May 2010 5:40]
Tonci Grgin
Thanks Michael, let me see what I can come up with.
[30 Dec 2010 7:21]
Bogdan Degtyariov
Verified with Connector/NET 6.3.5. Also, bug 59176 is marked as duplicate of the current report.
[6 Mar 2011 19:19]
Valeriy Kravchuk
Bug #60360 was marked as a duplicate of this one.
[6 Apr 2011 20:39]
Julio Casal
The Entity Data Model (EDM) Wizard does not bring default values over to the model’s SSDL. Such behavior does not belong to Connector/Net as the wizard is a Visual Studio component. Given that, the only two possible known workarounds are: 1. Manually add the DefaultValue attribute to the properties that require it by editing the SSDL xml. 2. Completelly remove these properties by editing the SSDL xml.