Example #1
0
        public virtual bool Equals(ReleaseEvent another)
        {
            if (another == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, another))
            {
                return(true);
            }

            if (Id == 0)
            {
                return(false);
            }

            return(this.Id == another.Id);
        }
Example #2
0
 public ArtistForEvent(ReleaseEvent releaseEvent, Artist artist)
 {
     this.Artist       = artist;
     this.releaseEvent = releaseEvent;
 }
Example #3
0
 public ArtistForEvent(ReleaseEvent releaseEvent, Artist artist)
 {
     Artist        = artist;
     _releaseEvent = releaseEvent;
 }