/// <summary>Specifies whether the WCF data services server behavior is enabled.</summary>
 /// <param name="usesV1Provider">true to use V1 provider; otherwise, false.</param>
 public void EnableWcfDataServicesServerBehavior(bool usesV1Provider)
 {
     // We have to reset the ATOM entry XML customization since in the server behavior no atom entry customization is used.
     this.SetAtomEntryXmlCustomizationCallback(null);
     this.readerBehavior = ODataReaderBehavior.CreateWcfDataServicesServerBehavior(usesV1Provider);
 }
Beispiel #2
0
 public void EnableWcfDataServicesServerBehavior(bool usesV1Provider)
 {
     this.readerBehavior = ODataReaderBehavior.CreateWcfDataServicesServerBehavior(usesV1Provider);
 }