Skip to content

Instantly share code, notes, and snippets.

@sacredgeometry
sacredgeometry / gist:87f45238ac25983382eedc1d85b0a472
Last active June 17, 2016 15:03
Property resolver specified in the TableRequestOptions not being called
public T CreateTableEntity (T entity) where T : TableEntity
{
CloudTable table = TableClient.GetTableReference(typeof(T).Name);
if(entity != null)
{
TableOperation insertOrReplaceOperation = TableOperation.InsertOrReplace(entity);
table.Execute(insertOrReplaceOperation, new TableRequestOptions {
PropertyResolver = (pk, rk, propName, propValue) =>
{
Console.WriteLine("THIS IS NEVER GETTING HIT!");