The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

EntitySpaces 2007 Beta v0.0819.0 Release Notes - PostgreSQL Support

Last post 08-21-2007, 7:54 PM by ESAdmin. 0 replies.
Sort Posts: Previous Next
  •  08-21-2007, 7:54 PM 4657

    EntitySpaces 2007 Beta v0.0819.0 Release Notes - PostgreSQL Support

    You may install this Release right over the top of EntitySpaces Beta 2007.0.0415 or later. You need to regenerate your generated classes using the "Generated Master" template.

    IMPORTANT: If you are upgrading from EntitySpaces Beta 2007.0.0328 or earlier (including updating from EntitySpaces 1.5.3), please see the Release notes on the Support menu. EntitySpaces 2007 Release v0.0528.0 contains accumulated release notes from all the 2007 Betas, going back to Release 1.5.3. It, also, contains important upgrading instructions.

    New Installs: The latest MyGeneration (1.2.0.7 or higher) should be installed first, and then closed, before installing EntitySpaces Developer or Trial.

    1. You can download MyGeneration 1.2.0.7 HERE
    2. The updated VistaDB 3.0 MyMeta plugin for MyGeneration can be found HERE. Simply unzip into your MyGeneration folder.

    EntitySpaces 2007 is a full install. You do not need an earlier version installed. To generate against MySQL, MyGeneration requires that MySql.Data.dll be copied to the MyGeneration Program Folder. After installing, please see the "Getting Started" PDF that is added to your EntitySpaces Start Menu folder.

    Below are the release notes for EntitySpaces 2007.0.0819 Beta:

    • Added support for PostgreSQL 8.2. This is a Beta release of the EntitySpaces NpgsqlProvider. It has undergone rigorous internal testing, but should not be considered ready to use in a production environment. We would like to get feedback from users, so, if you give it a try, please let us know your findings in the Forums. The EntitySpaces.NpgsqlProvider.dll uses Npgsql version 1.0. It should be installed with your PostgreSQL 8.2 installation. It can, also, be found HERE.
    • Fixed an error in our exception handling logic that was masking all errors as "Object Reference null".

    ** Special PostgreSQL instructions **

    MyGeneration ships with the PostgreSQL native column type to C# mappings named differently than the EntitySpaces templates expect them. However, this can be easily corrected in a few quick seconds by following these these steps (VB.NET users follow these same steps, EntitySpaces uses only the C# mappings even for VB.NET):

    1. Open MyGeneration
    2. Connect to your PostgreSQL database using the MyGeneration Default Settings dialog. It's under the "Edit -> Default Settings ..." menu
    3. Click on the "Language Mappings" toolbar button (4th from the right - use tooltips)
    4. Select "C# System Types" in the drop down combobox in the "Language Mappings" dockable window.
    5. Click on the "Create New Language Mapping" icon (white icon on the "Language Mappings" dockable window)
    6. In the popup dialog for the Language type in C# and Based Upon select C# System Types
    7. Click on the "OK" button
    8. Click on the "Save" icon on the  "Language Mappings" dockable window
    9. Close and reopen MyGeneration, you're all set.

    The above instructions are a one time operation, you will not have to do them again.

View as RSS news feed in XML