I have get SqlException: Invalid column name ‘enrollment’. https when try to access my https: /Student/Group/Create
but already have in Group Database.
using System;
using System.Collections.Generic;
public partial class Group
{
public int GroupId { get; set; }
public int? ClassId { get; set; }
public int? UsersId { get; set; }
public string GroupName { get; set; } = null!;
public bool? Ispublic { get; set; }
public bool? Isleader { get; set; }
public string Enrollment { get; set; }
public virtual Class? Class { get; set; }
public virtual ICollection<GroupMember> GroupMembers { get; set; } = new List<GroupMember>();
public virtual ICollection<Project> Projects { get; set; } = new List<Project>();
public virtual User? Users { get; set; }
}
Can some one help me please ?
New contributor
Hoai Le Nguyen Long is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.