我正在使用ODP.NET,我需要从我的数据库生成ORM.
我安装了:
在Server Expolorer中,我可以看到Oracle数据库的数据源,我可以连接到远程oracle服务器并运行查询.
当我添加ADO.NET实体数据模型,并想生成数据库代码我不能看到Oracle数据源就像在服务器资源管理器.
你需要下载一些额外的东西来运行ODP.NET的实体框架吗?
编辑:
我只有一些与haskell的技能,我需要帮助如何使用parsec实现预测解析(LL*).
我有无上下文语法:
<a> ::= identifier | identifier '(' <args> ')'
Run Code Online (Sandbox Code Playgroud)
基于http://research.microsoft.com/en-us/um/people/daan/download/parsec/parsec.pdf(章节预测解析器),我写了这段代码:
term = do{ x <- m_identifier
; try( char '(' )
; b <- argsparser
; char ')'
; return (FncCall x b)
}
<|> do { x <- m_identifier
; return (VarId x)
}
Run Code Online (Sandbox Code Playgroud)
我希望此代码尝试匹配'('并且如果不是解析器将继续并且仅匹配标识符.此代码仅用于匹配标识符'('args')'.
只在标识符"a"上调用它会抛出:
parse error at (line 1, column 2):
unexpected end of input
expecting letter or digit or "("
Run Code Online (Sandbox Code Playgroud)