In mysql, I declared fields of type unsigned int. They were INT (10) UNSIGNED by default. In my C # code, when I try to read these values ββfor the uint type, it gives me the error message "cannot convert long to uint". Something is missing here. I thought BIGINT should be long and int (10) unsigned should be uint? I use an entity structure to read in values ββ... Thanks
THE CODE
from employee in model.employees select new EmployeeEntity { EmpID = employee.EmpID, FirstName=employee.FirstName };
EmpID declared as UNSIGNED INT 10 in mysql
EmployeeEntity declares EmpID as uint (I also tried uint32). However line
Assigning "EmpID = employee.EmpID" gives me an error ...
c # mysql linq entity-framework
user275157 Jan 02 '10 at 14:10 2011-01-02 14:10
source share