Answered Verify that the FunctionImport name is unique.

  • Tuesday, December 07, 2010 10:48 AM
     
     

    Hello, I am trying to update a FunctionImport from a stored procedure which I updated in the database. 

    I have updated the model, but the complex type on the FunctionImport has not been updated.

    I deleted the complex type, but do not know how to delete the FunctionImport.

    I deleted the stored procedure in the DataModel.Store node, and updated the model accordingly.  This did not solve the problem

    I try to recreate the function import, but receive the error 'Verify that the FunctionImport name is unique'.

    How do I delete the FunctionImport, as it seems to be lurking in the background?

    What is the correct procedure for updating a stored procedure, for which a function import has been created with a corresponding complex type?

     


    Jean-Pierre Fouché

Answers

  • Tuesday, December 07, 2010 11:05 AM
     
     Answered

    The answer is to look under the following node:

    EntityContainer:<YourDatabaseName>_SPEntities node / Function Imports

    Delete the function import.


    Jean-Pierre Fouché