public RelationDefInfo CreateRelation(string lpszName, string lpszRelTable, string lpszRelColumn) { RelationDefInfo indexInfo = new RelationDefInfo(lpszName, m_strName, lpszRelTable, lpszRelColumn); return(RelationAppend(indexInfo)); }
public bool EnforceRelation(RelationDefInfo relInfo) { var relationFields = m_TableFields.Where((f) => relInfo.RelationFieldByName(f.m_strName) != null); return(relationFields.Any((rf) => (rf.DbColumnNull())) == false); }
private RelationDefInfo RelationAppend(RelationDefInfo relationInfo) { m_TableRelations.Add(relationInfo); return(relationInfo); }