Esempio n. 1
0
 // strong equality, maybe too strong
 public bool Equals(DataSourceIdentifier other)
 {
     if (other as object != null &&
         iname.Equals(other.iname)
         & srtype.Equals(other.srtype)
         & elecid.Equals(other.elecid)
         & filename.Equals(other.filename)
         & type.Equals(other.type)
         & dt.Equals(other.dt) // dev note: time may not be the same due to in-memory creation compared with fossilized definitions from DB
         & conninfo.Equals(other.conninfo))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }