public virtual bool Equals(AlbumName another) { if (another == null) return false; if (ReferenceEquals(this, another)) return true; return this.Id == another.Id; }
public virtual AlbumName CreateName(string val, ContentLanguageSelection language) { ParamIs.NotNullOrEmpty(() => val); var name = new AlbumName(this, new LocalizedString(val, language)); Names.Add(name); return(name); }
public virtual bool Equals(AlbumName another) { if (another == null) { return(false); } if (ReferenceEquals(this, another)) { return(true); } return(this.Id == another.Id); }