Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

No Option To Map To Stored Procedures #722

Closed
Marren85 opened this issue Jan 24, 2016 · 2 comments
Closed

No Option To Map To Stored Procedures #722

Marren85 opened this issue Jan 24, 2016 · 2 comments

Comments

@Marren85
Copy link

There is no option to map Idenetiy to stored procedures. I cannot run my code without it and don't know how to do a workaround.

In MVC 5 I simply added:

modelBuilder.Entity().MapToStoredProcedures();

overriding onmodelcreating in my Identity model but I can't seem to do that now.

Anyone help?

@rustd
Copy link

rustd commented Jan 27, 2016

@rowanmiller what is the bug number tracking this in EF? @divega mentioned it is in the backlog

@divega
Copy link

divega commented Jan 28, 2016

Found it.

The Identity stores we offer out of the box are for EF Core, and EF Core will not support stored procedure mapping in the initial release (we use the following issue to track the feature in our backlog: dotnet/efcore#245).

In the meanwhile it should be possible to produce your own Identity store implementations (i.e. UserStore and RoleStore) that use stored procedures for persistence based on some other means.

@divega divega closed this as completed Jan 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants