Priya.InfoList.Entity.SYS_Version.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 == "VersionNo") 
          {
              ret = true;
              if (VersionNo.ToString() == columnValue) valueMatched = true;
          }
          if (columnName == "VersionNoGUID") 
          {
              ret = true;
              if (VersionNoGUID.ToString() == columnValue) valueMatched = true;
          }
          retValueMatched = valueMatched;
          return ret;
      }
      [Column] public double VersionNo { get; set; }
SYS_Version