public RelationDefInfo GetTargetInfo() { RelationDefInfo defInfo = new RelationDefInfo(this.m_strName, this.m_strForeignTable, this.m_strTable, this.m_strColumn); defInfo.SetRelationField(this.m_RelationFields.Select((rf) => (rf.GetTargetInfo())).ToList()); defInfo.SetAttributes(this.m_lAttributes); defInfo.SetFields(this.m_nFields); return(defInfo); }