Click here to Skip to main content
15,664,272 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've two parameters like Register No. and UserName. I Entered Register No. Like "###$$$$%%%%" and UserName Like "TESTPC\TEMP" than result is successful but no record shown.
Instead of above if I Entered. Like
UserName. I Entered Register No. Like "###$$$$%%%%" and UserName Like "TESTPC\TEMP" than record is displayed.

Question: What is the difference between that. Because I posted record with double slash but in SQL server its shown single. so how do i specify a value for UserName at run time.


What I have tried:

I'm trying to get record with two parameters using swagger documentation.
language : Odata C#
Updated 22-Aug-19 21:40pm
Simon_Whale 23-Aug-19 7:15am    
If you debug your API, does the method in question get hit?

1 solution

Use Swashbuckle.OData to generate Swagger: [^] also see: [^]

Why not try Swagger support: [^]

Are you sure Swagger supports OData: see [^] and [^]
Share this answer
[no name] 23-Aug-19 4:38am    

Swagger Support Odata. our whole documentation is on odata. But is issue make me in trouble so i stuck here.

So What i've to do dont understand.

Jeegen Prajapati
BillWoodruff 23-Aug-19 5:25am    
study the content of every link in my reply. post question on Swagger support.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900