internal TElement Export <TElement>() where TElement : ITableEntity, new() { var ent2 = new TElement() { PartitionKey = PartitionKey, RowKey = RowKey, ETag = ETag, Timestamp = Timestamp, }; // This copy probably isn't needed in the common case, // but I'd rather not even have to think about it. ent2.ReadEntity(ChainTableUtils.CopyPropertyDict(userProperties), null); return(ent2); }