Exemple #1
0
 public Task <IReadOnlyCollection <int> > GetRandomEntities(string type, int count)
 {
     return(Retry(uri => GraphClient.Create <IGraphDataRead>(uri).GetRandomEntities(type, count)));
 }
Exemple #2
0
 public Task <IReadOnlyCollection <Entity> > GetEntities(IEnumerable <int> id)
 {
     return(Retry(uri => GraphClient.Create <IGraphDataRead>(uri).GetEntities(id)));
 }
Exemple #3
0
 public Task <IReadOnlyCollection <Association> > GetAssociations(IEnumerable <int> id, string type)
 {
     return(Retry(uri => GraphClient.Create <IGraphDataRead>(uri).GetAssociations(id, type)));
 }
Exemple #4
0
 public Task <JObject> Query(QueryRequest request)
 {
     return(Retry(uri => GraphClient.Create <IGraphQuery>(uri).Query(request)));
 }