public virtual bool HideLoginID() { if (Container.IsPersistent(this)) { Employee userAsEmployee = EmployeeRepository.CurrentUserAsEmployee(); return(userAsEmployee != null ? userAsEmployee.LoginID != LoginID : true); } return(false); }
public Employee DefaultOrderPlacedBy() { return(EmployeeRepository.CurrentUserAsEmployee()); }
public Employee DefaultEmployee() { return(EmployeeRepository.CurrentUserAsEmployee()); }