Surely you must be doing something really weird if this doesn't Just Work. What error do you get? What RDBMS?
/Oskar 2011/9/7 yz <[email protected]>: > Hi guys, I find no way to persist object whenever the string field > contains single quote character as below: > > MyEntity entity = new MyEntity( ); > entity.StringValue = "Hello's World"; > > using (ISession session... ) > { > session.Save(entity); > } > > Any idea? > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
