5 writes to _ctx
System.Web.Entity (5)
System\Data\WebControls\EntityDataSourceView.cs (5)
1114
_ctx
= creatingArgs.Context;
1138
_ctx
= (ObjectContext)ctxInfo.Invoke(new object[0]);
1145
_ctx
= new ObjectContext(_owner.ConnectionString);
1178
_ctx
= new ObjectContext(_owner.Connection);
1225
_ctx
= null;
10 references to _ctx
System.Web.Entity (10)
System\Data\WebControls\EntityDataSourceView.cs (10)
1115
contextType =
_ctx
.GetType();
1159
_ctx
.MetadataWorkspace.LoadFromAssembly(assembly);
1185
_ctx
.DefaultContainerName = _owner.DefaultContainerName;
1189
_ctx
.MetadataWorkspace.LoadFromAssembly(System.Reflection.Assembly.GetCallingAssembly());
1190
_ctx
.MetadataWorkspace.LoadFromAssembly(contextType.Assembly);
1218
if (null !=
_ctx
)
1220
EntityDataSourceContextDisposingEventArgs disposeArgs = new EntityDataSourceContextDisposingEventArgs(
_ctx
);
1224
_ctx
.Dispose();
1556
Debug.Assert(null !=
_ctx
, "The context hasn't yet been constructed");
1557
return
_ctx
;