/// <summary> /// Finds all field types (e.g. StringField). /// Looks up their xsdType property and stores the results into the _fieldTypeToXsdType dictionary. /// </summary> private void FindFieldTypes() { _fieldTypeToXsdType = new Dictionary <Entity, string>(); var fieldTypes = _schemaManager.GetInstancesOfType(A(Aliases.FieldType)); foreach (var fieldType in fieldTypes) { string xsdType = _schemaManager.GetStringFieldValue(fieldType, Aliases2.XsdType); if (xsdType != null) { _fieldTypeToXsdType.Add(fieldType, xsdType); } } }