yasser777 / nettiers

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

Error while generating outputs for MySQL Custome stored procedure. #434

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have a custom stored procedure in my MySQL Database.
2. I run the template it gives the following error.

Error: SmsDB.csp(0,0) GetCommandParameters() is not supported in this release.
Stack Trace:
   at SchemaExplorer.MySQLSchemaProvider.GetCommandParameters(String connectionString, CommandSchema command)
   at SchemaExplorer.CommandSchema.#l2f()
   at SchemaExplorer.CommandSchema.get_InputParameters()
   at _CodeSmith.NetTiers_cst.EntityProviderBaseCoreGenerated.__RenderMethod1(TextWriter writer, Control control) in e:\NetTiers\NetTiers 2.3.1\DataAccessLayer\Bases\EntityProviderBaseCore.generated.cst:line 552
   at CodeSmith.Engine.Control.RenderChildren(TextWriter writer)
   at CodeSmith.Engine.CodeTemplate.Render(TextWriter writer)
   at CodeSmith.Engine.CodeTemplate.RenderToString()
   at CodeSmith.Engine.CodeTemplate.RenderToFile(OutputFile outputFile, Boolean overwrite)
   at _CodeSmith.NetTiers_cst.RenderToFile(String templateName, String path, Boolean overwrite) in e:\NetTiers\NetTiers 2.3.1\NetTiers.cst:line 702
   at _CodeSmith.NetTiers_cst.Go() in e:\NetTiers\NetTiers 2.3.1\NetTiers.cst:line 4069
   at _CodeSmith.NetTiers_cst.__RenderMethod1(TextWriter writer, Control control) in e:\NetTiers\NetTiers 2.3.1\NetTiers.cst:line 5058
   at CodeSmith.Engine.Control.RenderChildren(TextWriter writer)
   at CodeSmith.Engine.CodeTemplate.Render(TextWriter writer)
   at CodeSmith.Engine.CodeTemplate.RenderToString()
   at CodeSmith.Engine.CodeTemplate.RenderToFile(OutputFile outputFile, Boolean overwrite)
   at CodeSmith.Engine.ProjectCodeGenerator.GenerateCode(CodeSmithProject csp)
Unable to render output NetTiers.txt, skipping...
Done rendering outputs: 0 succeeded, 1 failed, 0 skipped (173229ms).

What version of .netTiers and CodeSmith are you using?
2.3.1

Please provide any additional information below.
I am using MySQL 5.5.25a and I am attaching the template and database schema 
also.

Original issue reported on code.google.com by subbu....@gmail.com on 27 Nov 2013 at 12:24

Attachments: