This project has moved and is read-only. For the latest updates, please go here.

Google.DataTable.Net.Wrapper_v3.0.0

Rating: No reviews yet
Downloads: 58
Change Set: 18428
Released: Jan 8, 2013
Updated: Jan 11, 2013 by zoranmax
Dev status: Stable Help Icon

Recommended Download

Application Google.DataTable.Net.Wrapper_v3.0.0.zip
application, 23K, uploaded Jan 8, 2013 - 58 downloads

Release Notes

Version 3.0.0.0 mainly brings an unified way of managing custom properties that previously was managed by a simple string where the developer had to format the properties directly as a string. Now, the so called PropertyMap brings a Name-Value list that simplifies the management and serialization itself of the object.

To note as well is the System.Data.DataTable converter into the Google.DataTable.Net.Wrapper.DataTable format.

Breaking Changes

  • Attribute "Properties" removed from the Column object. Use the new PropertyMap attribute instead.
  • Attribute "Properties" removed from the Cell object. Use the new PropertyMap attribute instead.
If the above two attributes haven't been used directly in the code, no changes to the source code is needed.

Improvements

  • Introduced new type SystemDataTableConverter which contains code that converts a ADO:NET System.Data.DataTable into the project's DataTable. This gives a possibility to return a Json string from a widely known System.Data.DataTable.
  • Added Role attribute to the Column. It gets serialized as... cols":[{"p":{"role":"....}]
  • Added management for default Column.Id names if not specified.
  • Added PropertyMap attributes to Cell, Row and Column objects. This gives an unified way of handling custom assigned properties to objects.

Bug fixes:

  • Removed a trailing comma in the JSON string when a Cell (p tag) is serialized. This was causing an invalid JSON string.
  • Changed the way of how the Date object get's serialized in the JSON string. Now the object is returned quoted. "new Date..."
  • Change the way of how the Date() format is handled in the Json output. Removed the keyword "new" that was apparently causing some troubles.

For more information and code samples check the following post What's new in Google DataTable .NET Wrapper

Reviews for this release

No reviews yet for this release.