I have a model like
[order], with fields a,b,c mapping to the table [tbl_order] with fileds a,b
I don't want to mapping filed c
how to do this?
it seems i must mapping model fields wiht table one by one
a model without mapping some fileds
Re: a model without mapping some fileds
Please remove the property/field c from your model, save the model and regenerate the code.
If this doesn't help, specify:
1) the exact text of the error you are getting
2) the name of ORM you are currently working with (NHibernate, Entity Framework, etc)
If this doesn't help, specify:
1) the exact text of the error you are getting
2) the name of ORM you are currently working with (NHibernate, Entity Framework, etc)