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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -