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

[Solved] Persistent Object Inheritance between Two Projects

1 Answer 78 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.
Brian
Top achievements
Rank 1
Brian asked on 16 Nov 2010, 01:50 PM
Hi, 

Does openaccess support inheritance between two projects??

I had a solution with the following two projects: 

ClassLibrary1
BaseClass(abstract)

ClassLibrary2
InstanceClass(Concrete)

All of them are enabled with openaccess support. When I try to update database on ClassLibrary2, the visual studio crashes all the time. Even I restart the visual studio or rebuild everything, it crashes all the time.

Any idea??

The example solution can be found at http://115.85.146.11/TestOpenAccess.zip.

BTW, why your system only allows picture as attachments?? I want to upload the zip to forum but it blocks me all the time.

BR,

John (please mail me with johnhu@iscom.com.tw)

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 19 Nov 2010, 02:23 PM
Hi Ming Jen Huang,

 I did have a look at your test solution. Although Visual Studio did not crash I noticed a missing entry in the app.config file of the ClassLibrary2 project. The <references> node should have an entry pointing to the 'ClassLibray1' project as below.

<openaccess xmlns="http://www.telerik.com/OpenAccess">
    <references>
      <reference assemblyname="ClassLibrary1" configrequired="True" />
    </references>

 You can run the 'Check Settings' wizard (Telerik->OpenAccess->Configuration->Check Settings) and fix all the reported problems by pressing the 'Fix' toolbar button. This should make the right entries.

Do let me know if you need further assisstance.

Greetings,
Ady
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or