EntityDeveloper bugs
EntityDeveloper bugs
1) State of expanded/collapsed navigation properties is not saved. Monkey job is to expand all of them before printing.
2) Associations lines get messed up after reopening.
3) Page layout is not visible - some kind of visual cue would be nice. One has to print several times until the print model fits paper more or less pretty.
Example of paper waste
2) Associations lines get messed up after reopening.
3) Page layout is not visible - some kind of visual cue would be nice. One has to print several times until the print model fits paper more or less pretty.
Example of paper waste
You can see the page layout: right-click the designer surface and set the Show Print Markup option.
The Copy to clipboard button copies only the selection.
The Server Data Type property ignores the Default value setting. You can try setting the Default value in the Properties window of your PK in Model Explorer. However, SYS_GUID() is currently not supported, we are investigating the situation.
Concerning case sensitivity: we generate the script using the Storage columns and tables. If they are named in uppercase, no quoting is performed, in other case there will be quotes to provide the correct case. You can set the desired case for database objects in the Database Mapping dialog (Model Settings->Synchronization).
The Copy to clipboard button copies only the selection.
The Server Data Type property ignores the Default value setting. You can try setting the Default value in the Properties window of your PK in Model Explorer. However, SYS_GUID() is currently not supported, we are investigating the situation.
Concerning case sensitivity: we generate the script using the Storage columns and tables. If they are named in uppercase, no quoting is performed, in other case there will be quotes to provide the correct case. You can set the desired case for database objects in the Database Mapping dialog (Model Settings->Synchronization).
We have released a new 3.20.89 build of Entity Developer today.
This build provides sorting in the method's Return Type combo box.
It is available for download here.
If you need Entity Developer for dotConnect, please download the latest build of the corresponding dotConnect.
If you are a registered user, you can get the non-Trial edition from Registered Users' Area.
Detailed information about this build is available here.
This build provides sorting in the method's Return Type combo box.
It is available for download here.
If you need Entity Developer for dotConnect, please download the latest build of the corresponding dotConnect.
If you are a registered user, you can get the non-Trial edition from Registered Users' Area.
Detailed information about this build is available here.
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
The point is that the 'Default Value' setting of entity properties is parsed to the type of this property as a string. As, for example, 'sysdate' or 'DateTime.Now' literals cannot be parsed by the DateTime structure, they shouldn't be used as default values.
To implement the behaviour you are speaking about, you can, for example, create the default entity constructor that sets the needed properties to, e.g., DateTime.Now or Guid.NewGuid().
To implement the behaviour you are speaking about, you can, for example, create the default entity constructor that sets the needed properties to, e.g., DateTime.Now or Guid.NewGuid().
The point is that the 'Default Value' is part of the generated DB Schema script, which has to be manually corrected to contain all those default values. And since the DB schema usually used not only by EF client, but also other clients, all those default should be in DB model rather than in EF model. Of course, if they are also mirrored in EF model, it is also ok.
And in case of string literal constants it works, what's a big deal to implement certain set of built-in server functions? every DB has sys_guid() function or its analogue, every DB has sysdate and systimestamp...
C'mon guys
And in case of string literal constants it works, what's a big deal to implement certain set of built-in server functions? every DB has sys_guid() function or its analogue, every DB has sysdate and systimestamp...
C'mon guys
