added entity framework sample
code cleanup and modification is done