This article has a complete walk-through to use all entity commands.
http://brightstardb.readthedocs.org/en/latest/Entity_Framework_Samples/