我的sql store过程无法在实体框架中创建复杂类型 [英] my sql store procedure cannot create complex type in entity framework
本文介绍了我的sql store过程无法在实体框架中创建复杂类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我只需通过phpmyadmin添加商店程序
就像这样
> CREATE DEFINER =`root` @`localhost` PROCEDURE`SelectUser`()
LANGUAGE SQL
NOT DETERMINISTIC
NO SQL
SQL安全定义器
评论''
选择*来自用户
在我的edmx中但是当创建复杂类型并执行获取列信息时,
>存储过程不返回任何列
Hi i just add store procedure through phpmyadmin
like this
> 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
推荐答案
您应该在select查询中指定列名而不是*。
希望它能起作用......!
You should specify column name in select query instead of *.
Hopefully, it will work ...!
这篇关于我的sql store过程无法在实体框架中创建复杂类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文