Can I Run 2 Entity Framework contexts simultaneously (1 read, 1 read/write)? -
i writing tool copies data (user selectable) tables in 1 database database running same schema. can use 2 entity framework contexts (each different conn string) in following way or run problems?
- read row context1
- search row in context2 (based on name example)
- if name doesnt exist in context2:
- make copy of row context1
- manipulate fields in copy
- insert copy context2
i know response little late but... absolutely possible. since pointing towards 2 separate databases don't see issues @ all.
Comments
Post a Comment