Hello,
I'm trying to use MsSql2008FeatureLayer and run into two issues.
1. Creating a layer against a table with no records throws an exception while calling Layer.GetBoundingBox method.
2. The current design doesn't allow data filtering except by Id which is not really useful for most scenarios. The ExecutingSqlStatement event is not helpful as well since some of your queries are T-SQL scripts and modifying them on the fly is prone to errors.
Is there any chance that you could enhance this class to support user-defined definition query? This could be done through a single string property called DefinitionQuery that will be used to construct WHERE clause before a query needs to be run.
Thanks