public DGraphClient(Channel channel) { this.client = new Dgraph.DgraphClient(new DefaultCallInvoker(channel)); }
public DGraphClient(Dgraph.DgraphClient client) { this.client = client; }
public DGraphClient(string host, int port, ChannelCredentials credentials) { Channel channel = new Channel(host, port, credentials); this.client = new Dgraph.DgraphClient(new DefaultCallInvoker(channel)); }
public Transaction(Dgraph.DgraphClient client, TxnContext context, bool readOnly) { this.client = client; this.context = context; this.readOnly = readOnly; }