public override void MapDataFields(System.Data.DataRow currentRow)
        {
            workQueueId = (Int64)currentRow["WorkQueueId"];

            workTeamId = (Int64)currentRow["WorkTeamId"];

            if (currentRow.Table.Columns.Contains("WorkTeamName"))
            {
                workTeamName = (String)currentRow["WorkTeamName"];
            }

            permission = (Mercury.Server.Core.Work.Enumerations.WorkQueueTeamPermission)(Int32) currentRow["WorkQueuePermission"];

            return;
        }
Exemple #2
0
        public void MapDataFields(System.Data.DataRow currentRow)
        {
            workQueueId = (Int64)currentRow["WorkQueueId"];

            workQueueName = (String)currentRow["WorkQueueName"];

            description = (String)currentRow["WorkQueueDescription"];

            workflowId = (Int64)currentRow["WorkflowId"];

            enabled = (Boolean)currentRow["Enabled"];

            visible = (Boolean)currentRow["Visible"];

            if (currentRow.Table.Columns.Contains("WorkQueuePermission"))
            {
                permission = (Mercury.Server.Core.Work.Enumerations.WorkQueueTeamPermission)(Int32) currentRow["WorkQueuePermission"];
            }

            return;
        }