private void DoWriteOrReplace <T>(T entity) where T : BaseTableEntity { var context = new OperationContext(); var fields = entity.WriteEntity(context); _tableStore.StoreOrReplace(_table, entity.PartitionKey, entity.RowKey, fields); }