-
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Hi,
I'm trying to use Effort for testing in my project. I use Database first approach, create connection this way:
_connection = EntityConnectionFactory.CreateTransient("name=MyEntities");
I have a table in my DB with an ID column IDENTITY (1, 1). I want to insert a record into this column with ID=10, but it changes this ID to 1. I've seen examples on the web that use _connection.DbManager to set identity insert to ON, but there's no DbManager for EntityConnection.
How do I turn on IDENTITY_INSERT for my connection?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels