I would like to be able to can serialize and deserialize the metadata for testing of the Early Bound Generator with the Dataverse Model Builder. I previously created my own IOrganizationMetadata class that is serializable, and have been working with that for awhile, but it recently broke when you added the IOrganizationMetadata2, and if I didn't also implement that interface, and implement it correctly such that the optionset was added only if it didn't already exists in the OptionSets collection, the code generation silently stopped generating global option sets. I'll implement IOrganizationMetadata2 so my code works again, but I'm worried it will break in the future if you add an additional interface that magically updates how the code is generated. Also, is there a simple way serialize and deserialize the metadata other than my work around?
I would like to be able to can serialize and deserialize the metadata for testing of the Early Bound Generator with the Dataverse Model Builder. I previously created my own IOrganizationMetadata class that is serializable, and have been working with that for awhile, but it recently broke when you added the IOrganizationMetadata2, and if I didn't also implement that interface, and implement it correctly such that the optionset was added only if it didn't already exists in the OptionSets collection, the code generation silently stopped generating global option sets. I'll implement IOrganizationMetadata2 so my code works again, but I'm worried it will break in the future if you add an additional interface that magically updates how the code is generated. Also, is there a simple way serialize and deserialize the metadata other than my work around?