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

[Solved] Will ORM work with no db keys\constraints

2 Answers 93 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.
Brad
Top achievements
Rank 1
Brad asked on 24 Sep 2010, 03:58 PM
We are building an App on top of an unorthodox MS-SQL Database, we cannot modify and has no Primary or Foreign keys? Would OpenAccess ORM work in this situation? Can I manually create the "association" in the model without having to modify the database? I know the entity framework will not. Thx.

2 Answers, 1 is accepted

Sort by
0
brad
Top achievements
Rank 1
answered on 29 Sep 2010, 04:08 PM
Is this a dumb question?
0
Accepted
Zoran
Telerik team
answered on 29 Sep 2010, 06:36 PM
Hi brad,

 Yes you are able to define the associations and identity members on class level in the OpenAccess Visual Designer. You are not obliged to define the PK/FK constraints in the database too.

Kind regards,
Zoran
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Brad
Top achievements
Rank 1
Answers by
brad
Top achievements
Rank 1
Zoran
Telerik team
Share this question
or