Search found 11 matches

by picrap
Thu 15 Dec 2011 14:51
Forum: Entity Developer
Topic: Default values?
Replies: 1
Views: 1224

Default values?

Hi,

we have some default values in our database (set when the insert is made), but Entity Developer apparently does not handle this.
In theory this should set the "Generated" property to "Insert".
Have I missed something, or is this actually a bug?

Thanks.
by picrap
Wed 14 Dec 2011 08:09
Forum: Entity Developer
Topic: Using a custom type mapping with NHibernate
Replies: 5
Views: 2007

I got that, and used it. Unfortunately, there is no way to change the HBM.XML Nhibernate temple
by picrap
Wed 07 Dec 2011 12:52
Forum: Entity Developer
Topic: Using a custom type mapping with NHibernate
Replies: 5
Views: 2007

1. I am not sure I understand what you mean by "conceptual part", but I want a type just like the NHibernate YesNoType, except that true and false are 'O' and 'N' (I recently discovered a similar thing with '0' and '1' but NH will probably be able to map it to a boolean harmlessly).

2. The workaround does not work, because:
- it loses the relation to a column when using a custom complex type.
- it creates an instance in ctor

So basically, I would like to create my own custom types which would be handled exactly as NH native types are.
by picrap
Tue 06 Dec 2011 08:18
Forum: Entity Developer
Topic: Description change in table is not tracked
Replies: 3
Views: 1468

Again, this would be very useful if only actual atomic changes were recorded. Your product is good, quite efficient, but this problem is a major pain in the ... (where I think :o).

So please consider adding a fine-grained update analysis. When people use update from database, this is often because the database exists and is usually huge. Getting a smarter update engine would save a lot of user time.

Thanks!
by picrap
Tue 06 Dec 2011 08:12
Forum: Entity Developer
Topic: Property name overwritten on update from database
Replies: 5
Views: 1714

Why don't you add an option to let the user chose if he wants to update the column name?

Actually, this is very annoying for me, because of two problems:
- comments are not kept when changed, so a comment always marks the column as changed
- a changed column has its name updated

So basically, as you suggest, I find myself analyzing hundreds of columns at each update, while only a few changed are actually significant.

This is a big loss of productivity yet, this is why I'm asking for such a feature.
by picrap
Mon 05 Dec 2011 12:14
Forum: Entity Developer
Topic: Using a custom type mapping with NHibernate
Replies: 5
Views: 2007

Using a custom type mapping with NHibernate

Hi,

I'm trying to use a custom YesNo (a "OuiNon" since I'm french) and can't figure out how to get it working.
I created a new complex type, inheriting from CharBooleanType (exactly like YesNotType does) named OuiNonType, set it to my property, but instead of being boolean, the property is a OuiNonType (and I don't want to; I wan a bool).

Is there a way to achieve this?

Thanks,
Pascal.
by picrap
Thu 01 Dec 2011 13:24
Forum: Entity Developer
Topic: Description change in table is not tracked
Replies: 3
Views: 1468

Description change in table is not tracked

Hi,

when I update the model from the database, the description change in table does not seem to be kept, so at the next change the same description change is shown again.

Thanks for help,
Pascal.
by picrap
Thu 01 Dec 2011 13:22
Forum: Entity Developer
Topic: Property name overwritten on update from database
Replies: 5
Views: 1714

Property name overwritten on update from database

Hi,

I have a very annoying problem: when a column changes in the DB schema (for example its description), the associated property name is overwritten by its default value.

For example, I have a DB column named "PERC" which means "PersonalCode".
At first generation, I renamed my column from "Perc" (default value) to "PersonalCode" (which is much more convenient, I hope you'll agree :)).
But when the column was updated (even with a very small change such as description update), the property name is set back to "Perc" (right, the default value).

Am I missing something somewhere? Is this a bug?

Thanks for help.
Pascal.
by picrap
Thu 24 Nov 2011 13:08
Forum: Entity Developer
Topic: Diagrams not saved
Replies: 2
Views: 1278

I upgraded to 4.1.77 (I was running 4.1.71 downloaded last week) and it just works fine!
Thanks for efficiency, you officially won a new purchaser :)
by picrap
Mon 21 Nov 2011 16:45
Forum: Entity Developer
Topic: Diagrams not saved
Replies: 2
Views: 1278

Diagrams not saved

Hi,

I had to create several diagrams and was very surprised when reloading the projet to see that they all had disappeared.
Am I missing something?

Thanks.
by picrap
Thu 17 Nov 2011 11:42
Forum: Entity Developer
Topic: MS_Description not imported
Replies: 3
Views: 1503

MS_Description not imported

Hi,

apparently, the MS_Description extended property (used in SQL Server to store comments) is not imported in Entity Developper: the properties "Documentation/Long Description" and "Documentation/Summary" are always empty.
Is this a bug? If not, where shall we place the comments in SQL server in order to get them back in Entity Developper?

Thanks.