I'm needing some assistance on a problem I can't seem to find a resolution for. I have a SQL Server stored procedure accepting two nvarchar parameters. Within my C# code, I call the SP using the following set-up:
searchStringParameter = new ObjectParameter("searchString", "有者明确的");
filterParameter = new ObjectParameter("filterParameter", "Approved");
return base.ExecuteFunction<Nullable<global::System.Int64>>("Find", searchStringParameter, filterParameter);
However, on the SQL Server end, it captures the parameters as: "?????" (5 x question marks) and "Approved".
Any ideas?