示例#1
0
   private int GetNextOrg()
   {
       return(SqlExecutor.ExecuteInt(GetCorrupteLoginUser(), @"
   SELECT
     TOP 1 OrganizationID 
   FROM
     OrgMoveEvent
   WHERE
     HasExecuted = 0 
   ORDER BY
     Priority
 "));
   }