« first day (2870 days earlier)      last day (2094 days later) » 

11:56 AM
Hello All
How to execute sp returning more columns then table in entity framework core
code first approach
right now i can execute the sp which will return the columns of table with the following code

context.students.FromSql("Exec dbo.GetStudents");
but for example if my sp return more columns like count(*) , RowNumber how can i capture that values
please help me
 
 
2 hours later…
2:22 PM
Does your SP work on the SQL box?
 
 
2 hours later…
4:01 PM
Hey All,

is there anybody here who know about the Nexmo API and sending sms with it?
there are a few questions that I want to ask --
can you help me?
what is the exact procedure?
I have signed up with nexmo [free].
created an application also. verified my number 'from number' from which I want the sms to be sent; got the api key, secret, app id.

next what?
how do I structure the code? my app is a .NET Core app. I have installed th enuget pack nexmo C# .....

next what,
can you give me some working code stubs? thanks,
I tried to use the below but got error -

credentials does not contain a constructor that takes 0 arguments.


var client = new Client(creds: new Credentials
            {
                ApiKey = n_key,
                ApiSecret = n_secret
            });
 
4:24 PM
Greetings!
Is there a sql dictionary cursor in C#. In Python we can specify while intialising the cursor to be a dictionary cursor. The results in the cursor is array of dictionaries and we can simply get value by specifying the column name.
 
 
1 hour later…
5:26 PM
@MYGz could you give an example of the sort of code you'd want? I'm not too familiar with Python APIs
@PrabirChoudhury It appears the API has changed, use new Credentials(key, secret)
 

« first day (2870 days earlier)      last day (2094 days later) »