生成Edmx时出错 [英] Error Generating Edmx

查看:84
本文介绍了生成Edmx时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能为我指出这个错误的正确方向吗?

为App.Config添加连接字符串。
错误:由于以下异常,无法生成模型:'值不会下降在预期的范围内。'。
从数据库加载元数据花了00:00:01.8293419。
生成模型花了00:00:00.9474215。
写出EDMX文件需要00:00:00。 >

Can someone point me in the right direction for this error?

Added the connection string to App.Config.
ERROR: Unable to generate model because of the following exception: 'Value does not fall within the expected range.'.
Loading metadata from database took 00:00:01.8293419.
Generating model took 00:00:00.9474215.
Writing out the EDMX file took 00:00:00.

推荐答案

从只有两个表开始,逐渐添加更多,我现在把所有表都放进去。

我还是想了解一下引起了这个问题。
Starting with just two tables, and gradually adding more, I now have all my tables in.

I would still like to understand what caused this issue.


这篇关于生成Edmx时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆