sql server - Is it possible to convert a C# string to a SqlChars? -
i'm creating unit tests piece of code returns sqlgeography type. mock sqlgeography column i'd use sqlgeography.stlinefromtext create line string. problem stlinefromtext takes sqlchars parameter. know how convert c# string sqlchars?
new sqlchars(new sqlstring(text));
Comments
Post a Comment