protected void CopyAttributes(RelationshipAttributes relationshipAttributes, ArticleInfo articleInfo) { for (int i = 0; i < articleInfo.Count; i++) { relationshipAttributes[articleInfo.GetKey(i)] = articleInfo[i]; } }