Last post Feb 17, 2014 03:59 AM by Happy Chen - MSFT
Feb 13, 2014 10:13 PM|buckd30|LINK
Consider the two tables below employee and departments how would i best go about to ensure managers can only view employees reporting to them and that and that Admin can see manage users and permission then higher department can see everything. I am using
entity framework and c# to create a login system that will expose this scenario advise on the schema is appreciate.
Also what would the correct linq be to find out who are the managers and then also who are the employess below those managers.
│emp_no │id │
│manager_id │ │
Feb 17, 2014 03:59 AM|Happy Chen - MSFT|LINK
According to your description, i understand that your issue only is related to show on page, you need to check out and modify your linq statement.
Could you provide any additional code or markup related to this issue? It may be a bit easier to resolve if it can be easily reproduced.
Thank you for your understanding.