Domanda

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) ?

È stato utile?

Soluzione

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)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top