Search found 1 match

by pgBest
Wed 05 Jan 2011 00:34
Forum: dotConnect for PostgreSQL
Topic: Adding function return Composite Type in Devart Entity Model
Replies: 4
Views: 2290

Adding function return Composite Type in Devart Entity Model

When adding a function which returns Composite Type in Devart Entity Model it fails. For example adding a get_emps() function returns setof emp, a composite type created automatically when emp table is created, through "Update From Database Wizard" it fails. No codes is generated in DataModel.Designer.cs but the following error message
// Custom tool 'DevartEfGenerator' failed.
// - The Type emp is not qualified with a namespace or alias. Only PrimitiveTypes can be used without qualification.

In ADO.Net Entity Data Model there is function import feature as the following link http://msdn.microsoft.com/en-us/library/bb896231.aspx.
Is there similar feature in Devart Entity Model for Postgres?

Thanks for your help.