public virtual void SaveIntermediateModel(FileModel model, Stream stream)
 {
     FileModelPropertySerialization.Serialize(
         model,
         stream,
         SerializeModel,
         SerializeProperties,
         null);
 }
示例#2
0
 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);
 }