public virtual string GetIdForOperation(ElasticInferrer inferrer)
		{
			return !this.Id.IsNullOrEmpty() ? this.Id : inferrer.Id(this.GetBody());
		}
Exemple #2
0
 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));
 }
Exemple #5
0
 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()));
 }