ASP.NET, MVC, EntityFrameworks and understanding of models : I faced with misunderstanging 

1. I use EntityFramework in my project with CodeFirst methodology
2. Please correct me if I think incorrect

Models which are using for Entity Framework and describing structure of DB and Models which are using for View should be located separately or use [NotMapped] attribute?


For example:

Now i have below models:

    public class Title
    {
        public int ID { get; set; }
        public int UserTypeID { get; set; }

	....
	[NotMapped]

        public virtual ICollection<UserType> UserTypes { get; set; }
        public virtual UserType UserType { get; set; }
    }

    public class UserType
    {
        public int ID { get; set; }
	...
        public virtual ICollection<Title> Titles { get; set; }
    }


Model "Title"  I use in my controller to view/edit/create new records

And the same can be done in separated modelView file?

For example:

    public class TitleViewModel
    {
        public virtual Title Titles { get; set; }
        public virtual UserType UserType { get; set; }
        public virtual ICollection<UserType> UserTypes { get; set; }
    }
         and then  below code can be removed from "Title" model?

	[NotMapped]

        public virtual ICollection<UserType> UserTypes { get; set; }
        public virtual UserType UserType { get; set; }

         
         Is it correct? )