Exemple #1
0
 /// <inheritdoc />
 protected override void WriteMetadata(System.IO.TextWriter writer, Metadata.Edmx edmx)
 {
     edmx.WriteJson(writer);
 }
Exemple #2
0
 /// <summary>
 /// Writes the OData service metadata to the given text writer
 /// </summary>
 /// <param name="writer">Output writer.</param>
 /// <param name="edmx">Metadata that will be written.</param>
 protected abstract void WriteMetadata(TextWriter writer, Metadata.Edmx edmx);
Exemple #3
0
 /// <summary>This method is not supported in this formatter.</summary>
 protected override void WriteMetadata(System.IO.TextWriter writer, Metadata.Edmx edmx)
 {
     throw new SnNotSupportedException("Table formatter does not support metadata writing.");
 }
Exemple #4
0
 internal void WriteMetadataInternal(TextWriter writer, Metadata.Edmx edmx)
 {
     WriteMetadata(writer, edmx);
 }