コード例 #1
0
ファイル: LookupManager.cs プロジェクト: mshivjiani/HCMS
 public static List <WorkflowStatus> GetAllWorkflowStatuses()
 {
     return(WorkflowStatus.GetCollection(ExecuteDataTable("spr_GetAllWorkflowStatuses")));
 }
コード例 #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));
        }