My table:
Employee
--------
Name
Age
Role int (foreign key)
How can I assign a textbox value to the Role column?
In Entity Framework 4 I would go:
Employee x = new Employee()
x.Role = textBox1.Text;
It seems I don't have the Role columns available to me.
Thanks.