2. Bio! Technical Team Lead of DashSoft MSDN HDI Presenter Technical Consultant for BeBrand.tv Technical Consultant for LaserMarvels Community Leader of dotnetwork.org Past Technical Team Lead of BeBrand.tv 2
3. Agenda What is ORM? Why using ORM? What is Telerik OpenAccess ORM? Features! CRUD Demo DSW Demo ORM Battle Benchmarking 3
4. Agenda What is ORM? Why using ORM? What is Telerik OpenAccess ORM? Features! CRUD Demo DSW Demo ORM Battle Benchmarking 4
5. What is ORM? Object-relational mapping (ORM, O/RM, and O/R mapping) "virtual object database" that can be used from within the programming language. 5
6. Agenda What is ORM? Why using ORM? What is Telerik OpenAccess ORM? Features! CRUD Demo DSW Demo ORM Battle Benchmarking 6
7. Why Using ORM? Facilitates implementing the Domain Model pattern. Huge reduction in code. Changes to the object model are made in one place. Rich query capability. Navigation. Data loads are completely configurable. Concurrency support. Cache management. Transaction management and Isolation. Key Management. 7
8. Agenda What is ORM? Why using ORM? What is Telerik OpenAccess ORM? Features! CRUD Demo DSW Demo ORM Battle Benchmarking 8
9. What is Telerik OpenAccess? Telerik OpenAccess is an Enterprise-grade .Net ORM that does the data access plumbing in desktop and web applications. Supporting both forward (model-first) and reverse (schema-first) mapping, The tool offers transparent persistence for your DAL and business objects. OpenAccess ORM provides tight Visual Studio integration and allows you to seamlessly create database independent code. 9
10. Agenda What is ORM? Why using ORM? What is Telerik OpenAccess ORM? Features! CRUD Demo Fetch Demo DSW Demo ORM Battle Benchmarking 10
11. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support Technical Support 11
12. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support Technical Support 12
14. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support Technical Support 14
15. Dynamic Data Access Query Languages LINQ OQL SQL Runtime schema changes Schema Change API 15
16. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support 16
19. Fetch Plans Fine-tune the fetching of the fields we are using from the database and not the whole object. Better performance. Less load on the database server. 19
23. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support Technical Support 23
25. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support Technical Support 25
28. Disconnected API OpenAccess unique ObjectContainer API concept has been the first ORM feature supporting disconnected data scenarios. The offline ObjectContainer API shares a common interface with the online ObjectScopeAPI The ObjectContainer serves as a bag which can hold object network, provides serialization, change tracking and the ability to apply changes in a round-trip fashion to the database. 28
30. Partial Trust Most O/R products do not support the partial trust paradigm out of the box. Most commonly the support was tied to severe limitations of the products functionality. Most popular products like Linq To Sql and Entity Framework had issues on their own with the partial trust support. 30
33. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support 33
35. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support Technical Support 35
36. Database Support Microsoft SQL Server 2005/2008 Express Oracle Server 9.2, 10.x, 11.x Microsoft SQL Azure Advantage Database Server 8.1 SQL Anywhere Server 10.x Microsoft SQL Server 2000/2005/2008 and Compact 3.5 Oracle Database 10g Express Edition Firebird Server 2.x MySQL 5.x 36
37. Features! Visual Studio Integration Dynamic Data Access Performance and caching Supported Database Features Application Scenarios support Integration Database Support Technical Support 37
38. Technical Support Free even for trial versions Consulting more than a regular technical support Choose the way that fits you: Support Tickets Product Documentation Forum Telerik Blogs Telerik TV Knowledge base Code Library Webinars Telerik Trainer Product Resource Pages 38
39. Agenda What is ORM? Why using ORM? What is Telerik OpenAccess ORM? Features! CRUD Demo DSW Demo ORM Battle Benchmarking 39