Automatonymous EF State with multiple tables

25 views
Skip to first unread message

dar...@sbiteam.com

unread,
Oct 14, 2016, 12:54:03 PM10/14/16
to masstransit-discuss
I want to split my Automatonymous state across several tables using an EF DbContext.  I haven't found any examples of this online and I was wondering if there are any examples or if you can give me some pointers on how to set up a state with multiple tables.

Alexey Zimarev

unread,
Oct 15, 2016, 7:22:54 AM10/15/16
to masstransit-discuss
Isn't that just normal Entity Framework stuff, not really related to MassTransit?

dar...@sbiteam.com

unread,
Oct 17, 2016, 2:56:13 PM10/17/16
to masstransit-discuss
That was my first thought, but when I set up my dbcontext with multiple tables only the main table gets populated.  The tables that have foreign keys to the main table never get populated.  If I switch to in memory state machine everything works fine.  
Reply all
Reply to author
Forward
0 new messages