Ejemplo n.º 1
0
        public virtual ArtistForArtist AddGroup(Artist grp, ArtistLinkType linkType)
        {
            ParamIs.NotNull(() => grp);

            var link = new ArtistForArtist(grp, this, linkType);

            AllGroups.Add(link);
            grp.AllMembers.Add(link);

            return(link);
        }
Ejemplo n.º 2
0
        public virtual bool Equals(ArtistForArtist another)
        {
            if (another == null)
            {
                return(false);
            }

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

            return(this.Id == another.Id);
        }