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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -