This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!"); |