public BulkOperationOnKnownIndexAndType Create(object obj, string id) { BulkOperationItems.Add(new BulkOperationItem.Create(IndexName, TypeName, obj, id)); return(this); }
public BulkOperationOnKnownIndexAndType Delete(string id) { BulkOperationItems.Add(new BulkOperationItem.Delete(IndexName, TypeName, id)); return(this); }
public BulkOperationOnKnownIndexAndType Index(object obj, string id = null) { BulkOperationItems.Add(new BulkOperationItem.Index(IndexName, TypeName, obj, id)); return(this); }