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

Example of OpenAccess ORM with WPF

3 Answers 122 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.
Robert
Top achievements
Rank 2
Robert asked on 27 Nov 2008, 10:13 PM
I'm looking for examples of using OpenAccess ORM with WPF applications.  I installed it and the VS integration doesn't seem to even know it's in a WPF app.  When adding a dataform it actually adds a Windows Form in my project - doh!

Thanks,
Robert

3 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 28 Nov 2008, 09:01 AM
Hello Robert,

You are right, doh ;)

We did not implement the add data form for all our UI components.

To bind to WPF pls. just use the frameworks object binding. You just have to make sure that the ObjectScope is not disposed during the complete lifetime of you dialog.

Greetings,
Jan Blessenohl
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Robert
Top achievements
Rank 2
answered on 28 Nov 2008, 03:46 PM
Thanks.  Is the common practice to have one ObjectScope used for the lifetime of the application (talking about WPF app in my case)?
0
Jan Blessenohl
Telerik team
answered on 28 Nov 2008, 04:00 PM
Hello Robert,

Yes, you can have one scope for all, or a scope per usecase. If you have parallel operations (from the DB perspective) you should use a second scope.

Regards,
Jan Blessenohl
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 2
Answers by
Jan Blessenohl
Telerik team
Robert
Top achievements
Rank 2
Share this question
or