Kanadaj
Kanadaj

Reputation: 991

EF6 Model First Can't import function

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

Upvotes: 5

Views: 5228

Answers (1)

Kanadaj
Kanadaj

Reputation: 991

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

Upvotes: 3

Related Questions