public virtual string GetIdForOperation(ElasticInferrer inferrer) { return !this.Id.IsNullOrEmpty() ? this.Id : inferrer.Id(this.GetBody()); }
public virtual string GetIdForOperation(ElasticInferrer inferrer) { return(!this.Id.IsNullOrEmpty() ? this.Id : inferrer.Id(this.GetBody())); }
protected override string GetIdForOperation(ElasticInferrer inferrer) { return(Self.Id ?? inferrer.Id(Self.Document)); }
public override string GetIdForOperation(ElasticInferrer inferrer) { return(this.Id ?? inferrer.Id(this.Document)); }
protected override string GetIdForOperation(ElasticInferrer inferrer) { return(Self.Id ?? inferrer.Id(Self.InferFrom) ?? inferrer.Id(Self.Upsert)); }
protected virtual string GetIdForOperation(ElasticInferrer inferrer) { return !Self.Id.IsNullOrEmpty() ? Self.Id : inferrer.Id(this.GetBulkOperationBody()); }
protected virtual string GetIdForOperation(ElasticInferrer inferrer) { return(!Self.Id.IsNullOrEmpty() ? Self.Id : inferrer.Id(this.GetBulkOperationBody())); }