Esempio n. 1
0
        public bool Equals(EntityId id)
        {
            if (this == id)
            {
                return(true);
            }
            if ((id == null) || this.GetType() != id.GetType())
            {
                return(false);
            }

            if ((this.Type != id.Type) || (this.Guid != id.Guid))
            {
                return(false);
            }

            return(true);
        }
        public bool Equals(EntityId id)
        {
            if (this == id)
            {
                return true;
            }
            if ((id == null) || this.GetType() != id.GetType())
            {
                return false;
            }

            if ((this.Type != id.Type) || (this.Guid != id.Guid))
            {
                return false;
            }

            return true;
        }