Ejemplo n.º 1
0
        public static void LogIn(Staff thisUser, Entities thisEntity)
        {
            MyStaffRecord = thisUser;
            MyName        = thisUser.FullName;
            MyStaffID     = thisUser.ID;
            MyUserID      = thisUser.UserID;

            EntityFunctions.UpdateCurrentEntity(ref thisEntity);
            EntityFunctions.UpdateMyDefaultEntity(ref thisEntity);
            MyPermissions = new TableSecurity(MyStaffRecord);
        }