// Enables the source record to refer back to the pages that reference it. public abstract void AddBackreference( CBackReference br );
// Copy constructor public CBackReference( CBackReference other ) { m_ertRecordType = other.m_ertRecordType; m_xref = other.m_xref; m_sEventType = other.m_sEventType; }
// Records a page that references this source public override void AddBackreference(CBackReference br) { CSourceRecord sr = Gedcom.GetSourceRecord( m_xref ); if( sr != null ) { sr.AddBackreference( br ); } }
// Call this to add a record that references this source, so that a list of all referring records can be built. public void AddBackreference( CBackReference br ) { m_alBackreferences.Add( br ); }