public void CopyTo(IRelationEntry obj) { ((TestCollectionEntry)obj).ID = this.ID; ((TestCollectionEntry)obj).TestName = this.TestName; }