Ejemplo n.º 1
0
 public static List <WorkflowStatus> GetAllWorkflowStatuses()
 {
     return(WorkflowStatus.GetCollection(ExecuteDataTable("spr_GetAllWorkflowStatuses")));
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Determines whether the specified System.Object is equal to the current object.
        /// </summary>
        /// <param name="obj">The System.Object to compare with the current object.</param>
        /// <returns>Returns true if the specified System.Object is equal to the current object; otherwise, false.</returns>
        public override bool Equals(Object obj)
        {
            WorkflowStatus WorkflowStatusobj = obj as WorkflowStatus;

            return((WorkflowStatusobj == null) ? false : (this.WorkflowStatusID == WorkflowStatusobj.WorkflowStatusID));
        }