I'm trying to add a new stored procedure to my Asp.Net website with Visual Studio 2008, the way I did some time ago, but this doesn't generate any code in the *.designer.cs and when I try to call the SP, I just get a undefined/not-found error.
Here is what I have done so far :
MyApp.dbml, MyApp.dbml.layout and MyApp.designer.cssThe XML inside the DBML is created with the correct types for each column of the result, but absolutely nothing is created in the designer.cs.
Does anybody know were the problem might come from? Am I missing something?
As nothing else seemed to work, I used Pleun's idea, which worked like a charm:
MyApp.dbmlMyApp.designer.cs (the method that calls the SP + the partial class with accessors for the result of the SP)In fact, I had to close and reopen VS for that to work completely.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With