コード例 #1
0
 private void BtnSearchLinqPrefetchClick(object sender, EventArgs e)
 {
     OrganizationHelper.ShowEmployeesPlaceInOrganization(MetaSingletons.MetaData.Employee.Where(employee => employee.EmployeeID == SelectedEmployeeID)
                                                         .WithPath(OrganizationHelper.GetManagesPrefetchPath()).Single(),
                                                         tvOrganization.Nodes);
 }
コード例 #2
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     OrganizationHelper.ShowEmployeesPlaceInOrganization(new EmployeeEntity(SelectedEmployeeID, OrganizationHelper.GetManagesPrefetchPath()), tvOrganization.Nodes);
 }