Answers for "asp.net core sql server stored procedure"

SQL
0

asp.net core sql server stored procedure

var emailAddressParam = new SqlParameter("@emailAddress", id.EmailAddress);
var passwordParam = new SqlParameter("@passwordHash", id.PasswordHash);

var users = context
            .UserProfiles
            .FromSqlRaw("exec sp_GetUsers @emailAddress, @passwordHash", emailAddressParam, passwordParam)
            .ToList();
Posted by: Guest on October-13-2020

Code answers related to "asp.net core sql server stored procedure"

Code answers related to "SQL"

Browse Popular Code Answers by Language