public New(global::System.Uri serviceRoot, global::Microsoft.OData.Client.ODataProtocolVersion protocolVersion) :
     base(serviceRoot, protocolVersion)
 {
     this.OnContextCreated();
     this.Format.LoadServiceModel = GeneratedEdmModel.GetInstance;
     this.Format.UseJson();
 }
Exemplo n.º 2
0
 public Container(global::System.Uri serviceRoot, global::Microsoft.OData.Client.ODataProtocolVersion protocolVersion) :
     base(serviceRoot, protocolVersion)
 {
     this.ResolveName = new global::System.Func <global::System.Type, string>(this.ResolveNameFromType);
     this.OnContextCreated();
     this.Format.LoadServiceModel = GeneratedEdmModel.GetInstance;
     this.Format.UseJson();
 }