ssteenkiste / nettiers

Automatically exported from code.google.com/p/nettiers
1 stars 0 forks source link

nettiers-2.3.1 on MySQL to create code can't use DataRepository.Provider.ExecuteDataSet with parameter in MySQL #419

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.use codeSmith and .netTiers to create code on MySQL database.
2.when you use DataRepository.Provider.ExecuteDataSet with parameter in 
MySQL,will get Exception. not sport parameter.
3.as same,xxxService.insert() mathod and getPage()throw Exception.

What is the expected output? What do you see instead?
:”NotSupportedException was unhandled by user code”: “Parameter discovery 
is not supported for connections using GenericDatabase. You must specify the 
parameters explicitly, or configure the connection to use a type deriving from 
Database that supports parameter discovery.”

“The configuration file entlib.config could not be found”; 

What version of .netTiers and CodeSmith are you using?

.netTiers 2.3.1, CodeSmith 5.3 and 6.0
Please provide any additional information below.

Original issue reported on code.google.com by zhuzi8...@hotmail.com on 25 Feb 2012 at 1:07