I have model which directly update my DB.
But some properties I do not want to update in my DB table then how can I mark those properties to not to go in DB table?
my model is as below:
public class Blog
{
public int id {get;set;}
public int newid {get;set;} // which i want to unbind/exclude
}
1 Answer