This is a migrated thread and some comments may be shown as answers.

Sqlite. C# classes are not generated.

3 Answers 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jose Mejia
Top achievements
Rank 1
Jose Mejia asked on 13 Mar 2012, 03:48 PM
Hello.

When I have added some table to sqlite db and  updated  my model from this db new domain classes are generated
(it is visible in diagram), but C# code is not generated.
Is it ok? Is it proper behavior or I should write from scratch C# class for this domain class manually?

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Jose Mejia
Top achievements
Rank 1
answered on 13 Mar 2012, 06:27 PM
It seems there were some glitches with MetaModelCodeGenerator.
"Run custom tool" action  on *.rlinq file saved situation.
0
Accepted
Alexander
Telerik team
answered on 14 Mar 2012, 02:19 PM
Hello Jose,

The expected behavior is that after updating the model you have to actually save the diagram in order to regenerate the classes, could you please try if this works on your side?
Running the custom tool manually from the context menu has the same effect, as you have already found out.

All the best,
Alexander
the Telerik team
Telerik OpenAccess ORM Q1 2012 release is here! Check out what's new or download a free trial >>
0
Jose Mejia
Top achievements
Rank 1
answered on 14 Mar 2012, 03:15 PM
Hello.
Thank you for reply.

Yes it seems that saving diagram it was the action that I miss.
I'll know it in the future

Tags
General Discussions
Asked by
Jose Mejia
Top achievements
Rank 1
Answers by
Jose Mejia
Top achievements
Rank 1
Alexander
Telerik team
Share this question
or