Namespace issues is resolved while adding the record through entity