Can I update my employee record as given in the function below or do I have to make a query of the employee collection first and then update the data?
pub
You can attach a unattached modified entity, by using this overload:
db.App3_EMPLOYEEs.Attach(employee, true);//Attach as modfieied
Note that for this to work you need in your table a "Version" column of type "timestamp"