Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing param in generated stored procedure calls #1

Open
bulldetektor opened this issue Jun 6, 2018 · 2 comments
Open

Missing param in generated stored procedure calls #1

bulldetektor opened this issue Jun 6, 2018 · 2 comments

Comments

@bulldetektor
Copy link
Contributor

I've managed to build the solution against LLBLGen 5.4, but I'm facing a weird problem when generating code from the LLBLGen designer. The problem is that when generating stored procdure calls (in the 'ActionProcedures.cs' file) everything looks fine except that the name of the mapped stored procedure is missing.

Example of generated code:

return new StoredProcedureCall(dataAccessProvider, , "MyProcedure")
				.AddParameter("@tsnr", "Integer", 0, ParameterDirection.Input, true, 10, 0, tsnr)
				.AddParameter("@ttype", "VarChar", 50, ParameterDirection.Input, true, 0, 0, ttype)
				.AddParameter("@tnr", "Integer", 0, ParameterDirection.Input, true, 10, 0, tnr)
				.AddParameter("@knr", "Integer", 0, ParameterDirection.Input, true, 10, 0, knr)
				.AddParameter("@ansattnr", "Integer", 0, ParameterDirection.Input, true, 10, 0, ansattnr);

As you can see the second parameter of StoredProcedureCall is missing. Any ideas on how I can solve this?

@FransBouma
Copy link
Member

Hey :)

The procedure name is produced by the include template https://github.com/SolutionsDesign/LLBLGenProSybaseASA/blob/master/Templates/SybaseAsaSpecific/Shared/procedureNameInclude.template which by default is included in the target template. To my knowledge nothing has changed in that area so it should work out of the box. I'll verify this and get back to you.

@bulldetektor bulldetektor changed the title Build problems Missing param in generated stored procedure calls Jun 8, 2018
@FransBouma
Copy link
Member

Should be fixed with 6a345ca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants