and there is mention of StoreIgnoreAttribute. I cannot find an implementation of this in EF6. So is there a data annotation to ignore a propery in a class from being mapped to a column in the table?
public class Customer
{
public string FirstName {get;set;}
public string LastName {get;set;}
[NotMapped]
public string FullName { set; get; }
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more