partial void Updatenormal_EmpExtends(normal_EmpExtends instance);
 partial void Deletenormal_EmpExtends(normal_EmpExtends instance);
 partial void Insertnormal_EmpExtends(normal_EmpExtends instance);
		private void detach_normal_EmpExtends(normal_EmpExtends entity)
		{
			this.SendPropertyChanging();
			entity.normal_extends = null;
		}
		private void detach_normal_EmpExtends(normal_EmpExtends entity)
		{
			this.SendPropertyChanging();
			entity.employeeInfo = null;
		}
 public int Update(normal_EmpExtends neec)
 {
     string sql = string.Format(@"update normal_EmpExtends set info='{0}', [Enabled]={1} where id={2}", neec.Info, neec.Enabled, neec.Id);
     return SqlHelper.ExecuteNonQuery(System.Data.CommandType.Text, sql);
 }
 public int Insert(normal_EmpExtends neec)
 {
     db.normal_EmpExtends.InsertOnSubmit(neec);
     db.SubmitChanges();
     return neec.Id;
 }