I also have a question about EF transaction!
I want to set all activities in my window as transaction so I can't use using
statement because end using
will be in another function. How will I do?
You maybe wonder why I need that!
Because this window use the same context than it parent window, I've just passed context to it like following
Private Sub EditDetailPlan() Handles btnDetailsPlan.Click
Dim Win As New WinPlanningDetails
Win.Context = Context
Win.Owner = PlanningWizardStep3.ParentWindow