This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to convert a project from one of your compitors ORM products, into OpenAccess and have run aground with converting types. For example:
I'm trying to convert a project from one of your compitors ORM products, into OpenAccess and have run aground with converting types. For example:
| [Telerik.OpenAccess.Persistent(IdentityField = "_uID")] |
| public class product |
| { |
| private int _uID; |
| private string _salePrice; |
| public int uID { ... } |
| public Currency SalePrice { ... } |
| } |
The problem is that _salePrice is stored in the database as a string representing "Currency:float", for example "GBP:99.99"
I need a way of converting the string to the Currency object, which is not Persistent.
Thanks,
Mark.