public virtual void SaveIntermediateModel(FileModel model, Stream stream) { FileModelPropertySerialization.Serialize( model, stream, SerializeModel, SerializeProperties, null); }
public virtual void SaveIntermediateModel(FileModel model, Stream stream) { // no need to save schema model.Properties.Schema = null; model.Properties.Metadata = null; FileModelPropertySerialization.Serialize( model, stream, SerializeModel, SerializeProperties, null); model.Properties.Schema = _schema; model.Properties.Metadata = _schema.MetadataReference.GetValue(model.Content); }