Cách Khắc Phục, Tắt Finalize The String Trong Windows 10

Cách Khắc Phục, Tắt Finalize The String Trong Windows 10

Hộp thoại autoComplete trong các trình soạn thảo (Visual Studio, …)

Mấy ngày gần đây trên group Hỗ trợ Windows 10, lỗi máy tính có rất nhiều bạn gặp phải lỗi hiện ra một textbox nhỏ với tên gọi Finalize the string mỗi lúc nhập văn bản bằng bộ gõ tiếng Việt trong Windows 10.

Cách sửa lỗi Finalize the string trong Windows 10

Nguyên nhân: chọn chế độ tiếng Việt trong windows 10

Khắc phục: Tắt/xóa chế độ sử dụng tiếng Việt trong Windows 10, chuyển sang chế độ Tiếng Anh.

Khởi động lại máy tính.

Many to Many Relationship with extra fields in EF?

Many to Many Relationship with extra fields in EF?

Làm sao tạo quan hệ Nhiều – Nhiều và có thêm các trường thuộc tính khác bằng mô hình Entity Framework Code First

Student model class

Course model class

StudentCourse model class

Source code

    public class StudentCourse
    {
        [Key]
        public int StudentCourseId { get; set; }

        public int StudentId { get; set; }
        [ForeignKey("StudentId")]
        public Student Student { get; set; } 

        public int CourseId { get; set; }
        [ForeignKey("CourseId")]
        public Course Course { get; set; }

        public string Comment { get; set; }
    }

    public class Course
    {
        [Key]
        public int CourseId { get; set; }
        public string Name { get; set; }

        public ICollection<StudentCourse> Students { get; set; }
    }

    public class Student
    {
        [Key]
        public int StudentId { get; set; }
        public string Name { get; set; }

        public ICollection<StudentCourse> Courses { get; set; } 
    }