4. SCHEMA-FREE ADVANTAGES
Boost developer performance:
No need for database schema defintions.
No need for Object-relational mappings (ORMs).
No need for manual entity definitions in code.
C# code available from http://ingehenriksen.wordpress.com
5. THE OPTIMAL SOLUTION
Create tables on the fly.
Create table rows on the fly.
Create entity properties on the fly.
Support all data types.
…Solved using Dynamic Typing.
C# code available from http://ingehenriksen.wordpress.com
6. IMPLEMENTING DYNAMIC TYPING
Inherit DynStorage from
System.Dynamic.DynamicObject.
Implement TryGetMember().
Create a table object by table name.
C# code available from http://ingehenriksen.wordpress.com
7. IMPLEMENTING DYNAMIC TYPING
Inherit DynTable from
System.Dynamic.DynamicObject.
Implement TryGetMember().
Create an entity object by partition key
(primary key) and rowkey.
C# code available from http://ingehenriksen.wordpress.com
8. IMPLEMENTING DYNAMIC TYPING
Inherit DynTableEntity from System.Dynamic.DynamicObject, ITableEntity, and
Idictionary<string, EntityProperty>.
Implement TryGetMember().
Fetch entity property from dictionary.
Implement Save() method.
C# code available from http://ingehenriksen.wordpress.com
9. IMPLEMENTING DYNAMIC TYPING
Implement dictionary EntityProperty().
Write TableQuery() using partitionkey and
rowkey.
Implement TryGetMember().
Create an entity object by partition key
(primary key) and rowkey.
C# code available from http://ingehenriksen.wordpress.com
10. THANK YOU FOR YOUR TIME!
Get started at
http://azure.microsoft.com/en-us/downloads/
Inge Henriksen
http://ingehenriksen.wordpress.com