How to map a column name with spaces in it to a POCO property?
问题 I am working on database table which has a column name with a space in it, for example "Level Description". I cannot change the column name. Now I have an Entity Framework model class for this table and the compiler is complaining about this property, because property names can't contain spaces! How can I define the column with space in my class? [Table("StudyLevel")] public class StudyLevelModel { [Key] public byte StudyLevelID { get; set; } // How to map this to the column "Level