How to: Convert Function Imports
This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.
In the current version of the Entity Framework Conversion Wizard, stored procedures can be migrated automatically. However, the complex types and the auto-generated methods (function imports) should be created manually, using the Domain Method Editor.
For example, the following sample Entity Framework model contains three stored procedures and three functions used to call the corresponding stored procedure directly from your application code. There are also three compatible complex types mapped to the stored procedure results.
In the converted Telerik Data Access Domain Model, the stored procedures will be migrated automatically.
You have to generate corresponding domain methods and complex types by using the Domain Method Editor. For more information, please refer to How to: Create a Domain Method for a Stored Procedure.