Hi,
I am new to C# so my question might seem pedestrian. I need to get Employee Info such as name, dob, phone number, deptid, and dept name from the user and add it to the table. my difficulty is saving the data to the table. I am able to ask the user for the information with Console.WriteLine then I added Console.ReadLine() , after that Department.Employee.Add(new Employee {FirstName= " ", LastName=" ", DOB="", PhoneNumber="", DepartmentId="" , DeptName=" "}) ; HERE IS WHERE I AM HAVING PROBLEMS.
I am getting the error: "table Employee has no column named DepartmentId" When I check in SQLite Browser. I DO see the column named DepartmentId in Employee. I checked the spelling. So I don't understand where I am going wrong?