ContextType = null error => Property changed from persistencemethod to
persistencestrategy