Integration With Telerik® Data Access NuGet Packages
Telerik Data Access has five NuGet packages which allow you to integrate it into your solution - Telerik.DataAccess.Fluent, Telerik.DataAccess.Core, Telerik.DataAccess.Fluent.Sample, Telerik.DataAccess.Web, and Telerik.DataAccess.Profiler. They will enable you to develop and deploy applications which are using Telerik Data Access on machines which do not have it installed. In this article you will learn the purpose of those packages and how to use them.
- Telerik.DataAccess.Fluent package
- Telerik.DataAccess.Core package
- Telerik.DataAccess.Fluent.Sample package
- Telerik.DataAccess.Web package
- Telerik.DataAccess.Profiler package
The Telerik.DataAccess.Fluent package is designed to be used in the data access layer of your application - where your Telerik Data Access model will reside. The package includes a .targets file, the Telerik Data Access Enhancer tool together with its dependencies. The Enhancer is automatically called as a post-build step to provide the persistent capability, change tracking and lazy loading functionality to your model. The Fluent package is dependent on the Telerik.DataAccess.Core package.
The Telerik.DataAccess.Core package is designed to be used within projects which are consuming an already existing Telerik Data Access model and do not define persistent classes themselves. The package provides the Telerik Data Access runtime assemblies required to work with persistent classes and XML files for InteliSense support.
The Telerik.DataAccess.Fluent.Sample package is designed to kick-start your development process by delivering a small code sample, which demonstrates the Code Only mapping approach of Telerik Data Access. The Sample package is dependent on Telerik.DataAccess.Fluent.
The Telerik.DataAccess.Web NuGet package is designed to help you develop ASP.NET applications. It delivers the Telerik.OpenAccess.Web40 assembly, which contains the OpenAccessLinqDataSource control, and adds a reference to it in your project.
The Telerik.DataAccess.Profiler NuGet package is designed to help you profile the behavior of Data Access during runtime. It delivers the Telerik.OpenAccess.ServiceHost assembly and adds a reference to it in your project. Combining this package with the configuration suggested in How to: Configure Fluent Model For Monitoring and Profiler and Tuning Adviser will allow you to monitor various metrics of your data access layer.