public WonkaRefSourceCadre GetSourceField(WonkaRefSource poSource, WonkaRefCadre poField) { if ((poSource != null) && (poField != null)) { Dictionary <int, int> FieldsToSourceFields = IdXref.SourceFields[poSource.SourceId]; return(SourceCadreCache[FieldsToSourceFields[poField.CadreId]]); } else { return(null); } }
public bool IsSourceField(WonkaRefSource poSource, WonkaRefCadre poField) { return(GetSourceField(poSource, poField) != null); }