Added RefreshAllProperties Method in EntityBase