Hi,
We used to have a problem regarding MsSql2008FeatureLayer. The problem occurs if we try to use QueryTools right after a zoom or while the layer is drawing. That would cause the application to crash/become unresponsive.
After checking the documents I found another overload of MsSql2008FeatureLayer which accepts DatabaseConnectionMode.We tried to keep the connection open which has resolved mentioned issue.
var featureLayer =
new
MsSql2008FeatureLayer(_connectionString, _tableName, _featureIdColumn, _srid,DatabaseConnectionMode.KeepOpen)
Just wondering, would that cause any problem/performance issue if we force the connection to being open for all SQL Layers?
Thank you,
Shahin