2014-09-22 50 views

回答

3

时,他们很容易可以使用NotMapped注释

public class Customer 
{ 
    public string FirstName {get;set;} 
    public string LastName {get;set;} 
    [NotMapped] 
    public string FullName { set; get; } 
} 
+0

喜欢它。谢谢。 – TheEdge 2014-09-22 06:39:18