Many developers view their code as their model. Ideally these developers just want to write some class and to be able to use those classes with Telerik Data Access. Basically they want to write "Code Only". Fortunately, Telerik Data Access provides a Fluent Mapping API, which is perfect for these scenarios.
This section contains the following topics that discuss the Fluent Mapping API:
- Getting Started - demonstrates how to create a Fluent Mapping project by using Telerik Data Access, and then how to map the model using the default mapping functionality of the Fluent Mapping API. Also shows how to create a custom context class that provides strongly typed IQueryable end points and how to write sample code that uses the context.
- Mapping CLR Types, Properties and Associations - demonstrates how to map CLR types, properties and associations.
- Default Mapping - demonstrates how to use the default mapping functionality.
- Modeling Inheritance - demonstrates how to model inheritance by using the Telerik Data Access Fluent Mapping API.
- Artificial Types - demonstrates the Artificial Types/Properties feature of the Telerik Data Access Fluent Mapping API.
- Extending Models Using Fluent Mapping - demonstrates how to extend existing models with new CLR classes or artificial types.
- Merging MetadataSources - demonstrates how to merge multiple metadata sources and how to control reference resolutions.