public static void RemoveAllSyncIgnores(this ICmisObject obj) {
Dictionary<string, object> properties = new Dictionary<string, object>();
var ids = obj.SecondaryObjectTypeIds();
if (ids.Remove("gds:sync")) {
properties.Add(PropertyIds.SecondaryObjectTypeIds, ids);
obj.UpdateProperties(properties, true);
}
}