I have tried the below
var p = new SqlParameter(\"Option\", \"AUTHENTICATE\"); var user = _context.Set().FromSqlRaw(\"EXECUTE dbo.spGeneral_Authe
InvalidCastException: The SqlParameterCollection only accepts non-null SqlParameter type objects, not SqlParameter objects.
For the above error, SqlParameter should be Microsoft.Data.SqlClient.SqlParameter not System.Data.SqlClient.SqlParameter