Ejemplo n.º 1
0
 public DGraphClient(Channel channel)
 {
     this.client = new Dgraph.DgraphClient(new DefaultCallInvoker(channel));
 }
Ejemplo n.º 2
0
 public DGraphClient(Dgraph.DgraphClient client)
 {
     this.client = client;
 }
Ejemplo n.º 3
0
        public DGraphClient(string host, int port, ChannelCredentials credentials)
        {
            Channel channel = new Channel(host, port, credentials);

            this.client = new Dgraph.DgraphClient(new DefaultCallInvoker(channel));
        }
Ejemplo n.º 4
0
 public Transaction(Dgraph.DgraphClient client, TxnContext context, bool readOnly)
 {
     this.client   = client;
     this.context  = context;
     this.readOnly = readOnly;
 }