Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stored procedure cannot create complex type in entity framework

I have added this store procedure through phpmyadmin:

CREATE DEFINER=`root`@`localhost` PROCEDURE `SelectUser`()
LANGUAGE SQL
NOT DETERMINISTIC
NO SQL
SQL SECURITY DEFINER
COMMENT ''
Select * from User

In my edmx but when create a complex type and do the Get column information that gives

The store procedure returns no columns

like image 222
skent Avatar asked Oct 19 '22 18:10

skent


1 Answers

try add SET FMTONLY OFFin your sql statement

like image 73
facebook-100002133514545 Avatar answered Nov 03 '22 23:11

facebook-100002133514545