This is a migrated thread and some comments may be shown as answers.

Reference container or scope from Tracking

1 Answer 64 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jonathan Porter
Top achievements
Rank 1
Jonathan Porter asked on 09 Jun 2009, 08:20 PM
In the tracking event, how can I get a reference to the container or scope that owns the tracking instance.  See below:

 

private void Tracking_Removing(object sender, Telerik.OpenAccess.RemoveEventArgs e)

 

{

Telerik.OpenAccess.

ITracking Tracking = (Telerik.OpenAccess.ITracking)sender;

 

// GET REFERENCE TO CONTAINER THAT OWNS THIS TRACKING INSTANCE HERE
}


1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 11 Jun 2009, 08:56 AM
Hello Jonathan Porter,

Currently there is not a public API that allows access to the owner ObjectContext instance of the ITracking member. We will consider it as a request and perhaps deliver it publicly in some of our next releases.

Sincerely yours,
Zoran
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Development (API, general questions)
Asked by
Jonathan Porter
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or