Example #1
0
 public static void SetMetadataVersion(this ServiceContextDescription serviceDescription, ServiceVersion metadataVersion)
 {
     serviceDescription.SetAnnotation(MetadataVersionName, metadataVersion);
 }
Example #2
0
 public static void SetMetadataEdmNamespace(this ServiceContextDescription serviceDescription, XNamespace edmNamespace)
 {
     serviceDescription.SetAnnotation(MetadataEdmNamespaceName, edmNamespace);
 }
Example #3
0
 public static void SetBaseServiceProtocolVersion(this ServiceContextDescription serviceDescription, ODataProtocolVersion protocolVersion)
 {
     serviceDescription.SetAnnotation(BaseServiceProtocolVersionName, protocolVersion);
 }