3

I have a model first database model in Entity Framework 6 and I've been trying to import a scalar function to use for sorting; however, while EF does find the function, it's unable to import it for some reason.

There are no error messages or anything, the function added from the database simply doesn't show up in the Add Function Import window whereas it does show up in the database Store in the Model Browser.

Function import

Empty dropdown

Model Browser

Kanadaj
  • 962
  • 9
  • 25
  • "it's unable to import": how do you know? Are you getting an error or something else? – Richard Aug 10 '15 at 12:53
  • No error message. The function simply doesn't show up in the function import window (see how the drop-down is empty?) even though it does show up in the Store. – Kanadaj Aug 10 '15 at 13:02

1 Answers1

3

So after an additional 30 minutes of searching on top of the 2 hours in the beginning, I've found this answer:

Add Function Import not available for function

In addition to this:

Entity Framework scalar function mapping

Community
  • 1
  • 1
Kanadaj
  • 962
  • 9
  • 25