Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 878781 thumbnail
User 553211 avatar

By Sandrino
via fabriccontroller.net
Submitted: Nov 16 2012 / 03:59

Taking a deeper look TableEntity You’ll see a few changes compared to the old TableServiceEntity class: •The ETag property was added •The Timestamp is now a DateTimeOffset (much better for working with different timezones) •2 new virtual methods: ReadEntity and WriteEntity By default, these methods are implemented as follows: •ReadEntity: Will use reflection to get a list of all properties for the current entity type. Then it will try to map the values received in the properties parameter and try to map the values. •WriteEntity: Will use reflection to get the values of each property and add all these values to a dictionary. As you can see, both of these methods can come in handy if you want to do something a little more advanced. Let’s see how easy it is to create a new TableEntity which acts like a dictionary.
  • 3
  • 0
  • 150
  • 66

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)