We have a general item to add better lifecycle hooks to DbContext--see http://entityframework.codeplex.com/workitem/872
However, this doesn't fit in the schedule for EF6, so this work item is about adding specific hooks for getting SQL generated by EF without having to create a wrapping provider. This is for both queries and CRUD operations.
The probable approach for this will be to add one or more low-level interception services that can be registered via DbConfiguration.
Comments: Related work item: http://entityframework.codeplex.com/workitem/397.
However, this doesn't fit in the schedule for EF6, so this work item is about adding specific hooks for getting SQL generated by EF without having to create a wrapping provider. This is for both queries and CRUD operations.
The probable approach for this will be to add one or more low-level interception services that can be registered via DbConfiguration.
Comments: Related work item: http://entityframework.codeplex.com/workitem/397.