1 instantiation of MetadataSerializer
System.Data.Services (1)
System\Data\Services\ResponseBodyWriter.cs (1)
203
MetadataSerializer metadataSerializer = new
MetadataSerializer
(stream, this.AbsoluteServiceUri, this.Provider, this.encoding);
17 references to MetadataSerializer
System.Data.Services (17)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
862
internal void WriteMetadataDocument(
MetadataSerializer
serializer, XmlWriter writer, IDataService service)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (6)
297
string dataServiceVersion =
MetadataSerializer
.GetVersionsForMetadata(provider.Types, ref metadataEdmSchemaVersion);
298
MetadataSerializer
.WriteTopLevelSchemaElements(xmlWriter, dataServiceVersion);
310
MetadataSerializer
.WriteSchemaElement(xmlWriter, typesInNamespace.Key, metadataEdmSchemaVersion);
327
MetadataSerializer
.WriteSchemaElement(xmlWriter, this.Type.Namespace, metadataEdmSchemaVersion);
1973
MetadataSerializer
.WriteDataWebMetadata(
1975
MetadataSerializer
.WriteServiceOperations(xmlWriter, provider);
System\Data\Services\ResponseBodyWriter.cs (1)
203
MetadataSerializer
metadataSerializer = new MetadataSerializer(stream, this.AbsoluteServiceUri, this.Provider, this.encoding);
System\Data\Services\Serializers\MetadataSerializer.cs (9)
196
MetadataSerializer
.WriteDataWebMetadata(writer, XmlConstants.ServiceOperationHttpMethodName, operation.Method);
200
MetadataSerializer
.WriteDataWebMetadata(writer, XmlConstants.DataWebMimeTypeAttributeName, operation.MimeType);
232
string dataServiceVersion =
MetadataSerializer
.GetVersionsForMetadata(metadataManager.ResourceTypes, ref metadataEdmSchemaVersion);
233
MetadataSerializer
.WriteTopLevelSchemaElements(this.Writer, dataServiceVersion);
251
MetadataSerializer
.WriteSchemaElement(this.Writer, namespaceAlongWithTypes.Key, metadataEdmSchemaVersion);
261
MetadataSerializer
.WriteSchemaElement(this.Writer, typeNamespace, metadataEdmSchemaVersion);
493
MetadataSerializer
.WriteDataWebMetadata(xmlWriter, XmlConstants.DataWebMimeTypeAttributeName, resourceProperty.MimeType);
680
MetadataSerializer
.WriteDataWebMetadata(xmlWriter, XmlConstants.IsDefaultEntityContainerAttribute, XmlConstants.XmlTrueLiteral);
693
MetadataSerializer
.WriteServiceOperations(xmlWriter, this.Provider);