I am new about MVC+EF
I need to insert data into 3 table at a time but can not Figure out how can I do this My data model is
public class UserLogin
    {
        [Key]public int UserID { get; set; }
        public string LoginName { get; set; }
        public byte Password { get; set; }
    }
    public class UserDetails
    {
        [Key]
        public int DetailID { get; set; }
        [ForeignKey("UserLogin")]
        public int UserID { get; set; }
        public string UserName { get; set; }
        public string Address { get; set; }
    }
    public class UserType
    {
        [Key]
        public int TypeID { get; set; }
        [ForeignKey("UserLogin")]
        public int UserID { get; set; }
        public string TypeName { get; set; }
        public string TypeDiscription { get; set; }
    }
    public class UserBDCon : DbContext
    {
        public DbSet<UserLogin> logins { get; set; }
        public DbSet<UserDetails> Detail { get; set; }
        public DbSet<UserType> Type { get; set; }
    }
Can anyone tell me how does look the controller and view file for this model ?