Priya.InfoList.Entity.LTD_InfoDetail.HaveColumn C# (CSharp) Method

HaveColumn() public method

public HaveColumn ( string columnName, string columnValue, bool &retValueMatched ) : bool
columnName string
columnValue string
retValueMatched bool
return bool
      public bool HaveColumn(string columnName, string columnValue, out bool retValueMatched)
      {
          bool ret = false;
          bool valueMatched = false;

          if (columnName == "InfoDetailID") 
          {
              ret = true;
              if (InfoDetailID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "InfoDetailGUID") 
          {
              ret = true;
              if (InfoDetailGUID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "RevisionNo") 
          {
              ret = true;
              if (RevisionNo.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "UserID") 
          {
              ret = true;
              if (UserID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "UserGUID") 
          {
              ret = true;
              if (UserGUID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "CreatedDate") 
          {
              ret = true;
              if (CreatedDate.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "LastUpdateDate") 
          {
              ret = true;
              if (LastUpdateDate.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "IsActive") 
          {
              ret = true;
              if (IsActive.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "Sequence") 
          {
              ret = true;
              if (Sequence.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "InfoPageID") 
          {
              ret = true;
              if (InfoPageID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "InfoPageGUID") 
          {
              ret = true;
              if (InfoPageGUID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "InfoSectionID") 
          {
              ret = true;
              if (InfoSectionID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "InfoSectionGUID") 
          {
              ret = true;
              if (InfoSectionGUID.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "InfoDetailName") 
          {
              ret = true;
              if (InfoDetailName.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "InfoDetailDescription") 
          {
              ret = true;
              if (InfoDetailDescription.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "HideDetailName") 
          {
              ret = true;
              if (HideDetailName.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "IsDeleted") 
          {
              ret = true;
              if (IsDeleted.ToString() == columnValue) valueMatched = true;
          }
          retValueMatched = valueMatched;
          return ret;
      }
      [Column] public long InfoDetailID { get; set; }
LTD_InfoDetail