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

有帮助吗?

解决方案

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)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top