Guid discriminator constant. How?

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
Alladin
Posts: 149
Joined: Mon 27 Nov 2006 16:18
Contact:

Guid discriminator constant. How?

Post by Alladin » Tue 15 Jun 2010 20:49

Hi there,

How do I specify Guid constant for inheritance discriminator column using Entity Designer.

Right now I'm getting value '12343-234-234-234234etcetc' is not valid for property 'Clsid' in inheritance relation.

Thank you

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 21 Jun 2010 18:09

Please use Inheritance Editor's (model designer surface > Add Inheritance) Discriminator Property to set the column in the database that is used to discriminate between entities.

Could you please tell us the exact steps we should follow to reproduce the problem? If necessary, send us the DDL/DML script and your model.

Alladin
Posts: 149
Joined: Mon 27 Nov 2006 16:18
Contact:

Post by Alladin » Fri 25 Jun 2010 09:55

1. Define discriminator column of type Guid in class A.
2. Inherit class B from class A using Entity Developer.
3. Try to input in your dialog Guid constant.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 06 Jul 2010 13:33

Thank you for the report, we have found the problem.
I will let you know about the results of our investigation as soon as possible.

Alladin
Posts: 149
Joined: Mon 27 Nov 2006 16:18
Contact:

Post by Alladin » Tue 13 Jul 2010 10:35

Any news regarding the issue?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 14 Jul 2010 10:50

We have fixed the error. But the new build will not be available at least for two more weeks.

Post Reply