NOTE: You must regenerate your generated classes with the Master Template. EntitySpaces 1.5.1 and earlier require MyGeneration 1.1.5.1. We recommend that you upgrade to MyGeneration 1.2.0 and EntitySpaces 1.5.2 or higher.
- Added “Use Schema” checkbox to SQL Server Stored Procedures template. Default is un-checked (dbo).
- Changed MySQL Stored Procedure template delimiters from $$ to //.
- Changed the esEntityCollection.Item Property so that it is no longer obsolete.
- Fixed SqlClientProvider so that AnsiString output parameters now have the correct size property for computed columns.
- Fixed bug in QueryBuilder for all 4 providers. If a Like() expression was used in the Where() clause before an Equal(bool) expression, then the parameter type for the boolean was set to a string.
- Added two protected Methods to esEntityCollection:
- AssignPrimaryKeys - Assigns the underlying DataTable's 'PrimaryKey' data member using the primary keys as defined in the collection's associated esColumnMetadataCollection.
- RemovePrimaryKeys - Removes the DataTable's 'PrimaryKey' information by setting it to null. Call this to undo AssignPrimaryKeys().
- Added three Properties to esEntityCollection:
- AllowEdit - Default is true. Setting this to false prevents the user from editing a row in a DataGridView.
- AllowNew - Default is true. Setting this to false prevents the user from adding new rows in a DataGridView.
- AllowDelete - Default is true. Setting this to false prevents the user from deleting rows in a DataGridView.
- Fixed esEntityCollection IBindinglList AddNew, ApplySort, and esEntity BeginEdit, CancelEdit, EndEdit, AddNew. This fixes the editing or clicking around in a DataGridView bug.
- Fixed an issue where Extended Properties were not being included in the collection if MultiProviderMode was set to true.
- Fixed DeleteAll() so that it honors the Filter(). Only records matching the Filter criteria will be deleted.
- Fixed a problem that occurred if your PrimaryKey column was not the first column in the table metadata.
- Added a specific Exception for when you call Save on an entity that is part of a collection. You must call Save on the collection.
EntitySpaces Trial Version:
- The SqlDemo has been replaced by a new and improved EntitySpacesDemo. A zipped version with the runtime references removed is available on the Documentation|Downloads page.
Documentation:
- Added entries in compiled help for the new methods and properties.
Installation:
New Installs:
- Uninstall any Beta or Trial version before installing EntitySpaces.
- Install the Binary first.
- Source, Providers, and ASP.NET templates can be installed in any order after that. (They are separate downloads.)
- You do not need to install 1.4 first.
- The 1.4.1 downloads are full installs.
Upgrades:
- Upgrading does not require uninstalling 1.2, 1.3, or 1.4. Uninstall 1.1 or earlier versions.
- You should install 1.4.1 over the top of your 1.2, 1.3, or 1.4 installation.
- Install the Binary first.
- Source, Providers, and ASP.NET templates can be installed in any order after that. (They are separate downloads.)
- NOTE: You must regenerate your generated classes with the Master Template
New MySQL Users:
NOTE: These steps only need to be done once in MyGeneration. You do not need to repeat them with each EntitySpaces upgrade.
- Open MyGeneration.
- Make sure you have MYSQL2 picked as your Driver in the Default Settings dialog.
- After you connect, click on the "Language Mappings" button on the toolbar. (Use the tooltips to find it. It is the 11th button from the left.)
- That will open the Language Mapping dockable window. Once open, Click on the "Create New Language Mapping" button. (Just to the left of the red 'X'.)
- In the Language TextBox, enter "C#" (exactly as shown with an uppercase C, but without the quotes, of course) and base it on "MySQL Connector/NET C#"
- Click OK
- Click the "disk" icon to save it. (It appeared next to the Create New Language Mapping button.)
- Close MyGeneration.
- Open MyGeneration.
- Regenerate your classes.
EntitySpaces 1.5.1 and earlier require MyGeneration 1.1.5.1. We recommend that you upgrade to MyGeneration 1.2.0 and EntitySpaces 1.5.2 or higher.