Editor - .net table with schema
Editor - .net table with schema
I see a post from 2019 where it was discovered that the .net Editor libraries don't work schemas on Insert.
https://datatables.net/forums/discussion/comment/147159/#Comment_147159
I am getting this error. Is this still an issue with Editor?
Answers
Could you show me your C# code and the error message please? I thought we'd fixed that... Possibly not...
Allan
here is the error:
here is the controller
here is the debug:
the sql statement looks fine from what I can tell. In the meantime I have created a stored procedure and passed the data from the editor to the stored procedure. doing it that way the record is able to be created.
Hi,
Sorry for the delay in replying here! Could you run the following against your database and let me know the result please?
Thanks,
Allan
Thank you. Also, what version of the Editor .NET libraries are you using?
What is confusing me here is that the debug you show above should contain "OUTPUT INSERTED" which it isn't.
This is the block of code in question. When that returns a value (which it appears to be doing correctly from the SQL output above) then it will wrap the
INSERT
commend with extra information, which is then logged. That wrapping isn't happening for some reason...Allan
sorry, we were off for Thanksgiving holiday.
It looks like I am using version 2.0.4.0
I believe when I first posted I was using 1.9, but when I realized I wasn't using the newest I upgraded. But i am still getting the same sql statement in the debug.