Geeks With Blogs

News kaleidoscope 1817, lit. "observer of beautiful forms," coined by its inventor, Sir David Brewster (1781-1868), from Gk. kalos "beautiful" + eidos "shape" (see -oid) + -scope, on model of telescope, etc. Figurative meaning "constantly changing pattern" is first attested 1819 in Lord Byron, whose publisher had sent him one.
Kaleidoscope Everything under the sun, ending in .Net December 2010 Entries
Using Enums for comparing string values in Switch
Problem Scenario: There is an enum keeping track of operations to be performed on a table Public Enum PartitionKey { Createtask, Updatetask, Deletetask } User is entering the value for the operation to be performed and the code to check the value entered in switch case. Switch (value) { case PartitionKey.Createtask.ToS... { Create(); break; } case PartitionKey.Updatetask.ToS... { Update(); break; } case PartitionKey.Deletetask.ToS... { Delete(); break; } } and it displays as error ......

Posted On Monday, December 13, 2010 12:51 AM

Azure Table–Entities having different Schema (Implementation Approach)
Below is the approach that can be implemented whenever there is a requirement of creating an Azure Table having entities with different schema definitions. We can have a Parent Entity defined which will hold the data common in all the entity types and then rest all entities should inherit from this parent class. There will be only on DataServiceContext class which will accept the object of the Parent class and this can be used for CRUD operations of all the entities. Hope this approach helps! Thanks. ......

Posted On Wednesday, December 8, 2010 10:03 PM

Copyright © kaleidoscope | Powered by: