Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System.Web.Entity / System / Data / WebControls / EntityDataSourceContextDisposingEventArgs.cs
1 //---------------------------------------------------------------------
2 // <copyright file="EntityDataSourceContextDisposingEventArgs.cs" company="Microsoft">
3 //      Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //
6 // @owner       Microsoft
7 // @backupOwner objsdev
8 //---------------------------------------------------------------------
9 using System;
10 using System.Collections.Generic;
11 using System.Linq;
12 using System.Text;
13 using System.ComponentModel;
14 using System.Data.Objects;
15
16 namespace System.Web.UI.WebControls
17 {
18     public class EntityDataSourceContextDisposingEventArgs : CancelEventArgs
19     {
20         private readonly ObjectContext _context = null;
21
22         internal EntityDataSourceContextDisposingEventArgs(ObjectContext instance) 
23         {
24             _context = instance;
25         }
26
27         public ObjectContext Context 
28         {
29             get { return _context; }
30         }
31     }
32 }