Entity framework - own type filed -
i'm new ef , i'm looking using own type. can use type map field @ database. should map:
datetime date (oracle)
i need map:
mydatetype date (oracle)
can me make it? possible? maybe other orm can make it?
u can use not mapped property of own type:
public datetime date{ get; set; }//this mapped db [notmapped] public mydatetype mydatetimeproperty { { return /*conversion datetime mydatetype */; } set { date= /*conversion mydatetype datetime*/; } }
Comments
Post a Comment