microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java
public void insert(final TableEntity entity, boolean echoContent) {
        this.lockToPartitionKey(entity.getPartitionKey());
        this.add(TableOperation.insert(entity, echoContent));
    }
public void insert(final TableEntity entity, boolean echoContent) {
        this.lockToPartitionKey(entity.getPartitionKey());
        this.add(TableOperation.insert(entity, echoContent));
    }
Adds a table operation to insert the specified entity to the batch operation.

@param entity
The {@link TableEntity} to insert.
@param echoContent
The boolean representing whether the message payload should be returned in the response.