Page 1 of 1

Comments on the table columns in Entity Developer

Posted: Tue 28 Sep 2010 19:35
by muthu
When I use the Entity Developer Database Reverse Engineering Wizard to consume my PostgreSQL database schema only the comments for the database table get reflected in the entity class. My comment on each column of the table does not get reflected in the entity property.

Posted: Wed 29 Sep 2010 08:01
by AndreyR
Thank you for the report, this functionality is already implemented, and will be available in the upcoming Beta build.

Posted: Wed 29 Sep 2010 11:35
by muthu
Thanks for the immediate response. Just wondering when can I ask expect an upgrade to postgreSQL 9.0.

Cheers,
Muthu

Posted: Wed 29 Sep 2010 12:52
by AndreyR
We are in the process of testing the Postgres 9.0 server.
I will post here as soon as any new information is available.

Posted: Wed 29 Sep 2010 13:25
by muthu
Hii Andrey,
Another quick question, how do I get my comments to populate on the summary instead of the long description under the documentation property in the entity developer.
Thanks, Muthu

Posted: Wed 29 Sep 2010 15:27
by AndreyR
You can make some modifications to the code generation template.
Go to the Tools->Entity Developer->Templates...
Create a new template, load the code from the "Entity C#" template (or from the other, I took this one for example).
Make the following changes:
1. Replace the

Code: Select all

GenerateDocumentation(cls.Documentation, cls.FullName); 
with

Code: Select all

GenerateClassDocumentation(cls.Documentation, cls.FullName); 
2. Add a GenerateClassDocumentation method like the following:

Code: Select all


    /// 

    /// 

    /// There are no comments for  in the schema.

    /// 

    /// 

    /// 

    /// 

As you can see, the only difference with the GenerateDocumentation method is the fact that Summary and LongDescription are swapped.
3. Save the template.
4. Double-click the model surface (to open the model properties) and select the template you have just created. Save the model.
After these steps the table comments will be placed in the Summary section of the class documentation.

Comments on the table columns in Entity Developer

Posted: Fri 05 Nov 2010 11:45
by muthu
I am on built 4.95.190 which got released today. I still don’t have the feature described above working yet? :(

Posted: Mon 08 Nov 2010 15:07
by StanislavK
The fix will be available in the nearest build of dotConnect for PostgreSQL 5.0.; we will inform you when the corresponding build is released.

Also, dotConnect for PostgreSQL was tested with PostgreSQL 9.0, and we found no compatibility problems.

Posted: Tue 09 Nov 2010 14:40
by muthu
Hii Stanislav,
When can we expect the PostgreSQL 5.0 release ? Is there any 5.0 beta build which has this issue resolved that I can try now ?
Thanks, Muthu

Posted: Wed 10 Nov 2010 09:41
by StanislavK
We plan to release a Beta version that will include this fix in several days. We will inform you when this build is published.

Posted: Fri 12 Nov 2010 09:13
by StanislavK
We have released the 5.0.46 Beta version of dotConnect for PostgreSQL. This build includes the fix for comments not shown in entity field description. For the detailed information about the improvements available in dotConnect for PostgreSQL Beta 5.0, please refer to
http://www.devart.com/forums/viewtopic.php?t=19498

The Beta 5.0.46 build can be downloaded from
http://www.devart.com/dotconnect/postgr ... nload.html
(the trial version) or from Registered Users' Area (for users with active subscription only):
http://secure.devart.com/

Posted: Sat 13 Nov 2010 02:32
by cjbiggs
Does this include all fixes that was put into dotConnect for Postgres 4.95.190?

Posted: Mon 15 Nov 2010 13:24
by StanislavK
Yes, all fixes implemented in the 4.95.190 build should be available in Beta 5.0.46 as well.