// -------------------------------------------------------------- CreateOrRemove commands
private static void WriteCreateOrModifyPropertyTypes(SchemaEditor origSchema, SchemaEditor newSchema, SchemaWriter writer)
{
// new
foreach (PropertyType newType in newSchema.PropertyTypes)
{
if (NeedToCreate <PropertyType>(origSchema.PropertyTypes, newType))
{
writer.CreatePropertyType(newType.Name, newType.DataType, newType.Mapping, newType.IsContentListProperty);
}
}
}