entity framework 4 - EF4 equivalent of NHibernate IUserType -


I want to map a model property that is typed as a timezonefof for a column in the database. In NHib, I have just made a UUSerttepe "Time Zone Infosstring" which changed back and forth and then used Type Typeface. How can I do this type of work using Entity Framework 4.0?

The unit is not equal to the framework The user types of NHibernate will require you to make separate assets in your unit for this and Only string assets must be maped. Something like: Public Partial SegmentMientity {Public Timezone Information Timezone {To Get {Return Pars (Time Zone Infostrong); } Set {TimeZoneInfoString = value.ToString (); }}}

Where this category is part of your part for the Autogenerated Entity. I Timezone Infostrost is the property mapped to your entity and Pars Your conversion argument is in and toasting .

Comments