Click here to Skip to main content
15,884,388 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.

Thanks.
Jeegen


What I have tried:

I'm trying to get record with two parameters using swagger documentation.
language : Odata C#
Posted
Updated 22-Aug-19 21:40pm
Comments
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
 
v2
Comments
[no name] 23-Aug-19 4:38am    
@BillWoodruff

Hello,
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.

Thanks
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