Frage

Normally when we want to insert unicode letter into SQL Server, we can do N' foreign letter' But I'm using Peta Poco and I cannot add N (or I don't know how to)

So how do I make sure my input can be saved as unicode (my table columns are nvarchar) ?

War es hilfreich?

Lösung

PetaPoco supports Unicode and will save your unicode strings just right if your original string is Unicode (the page or program you are using is unicode)

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top