I have two newbie questions. Hopefully they will be easy to answer.
The MSSQL2008 layer requires that you specify which column is the ID column. For Shapefile layers though, it appears that ID's are automatically assigned. Is this correct? If yes, and if I wanted to do something like find the feature(s) based on a particular column value, how would I do that? If I knew the associated ID's, it would be easy. I could issue a sql query against the data and pass the ID's to the the GetFeature(s)byID(s) method. But if ID's are auto-assigned and not retrievable via a query, would I have to spin through all of the features in the layer and query the column's value to get the right feature(s)?
It appears there are two methods to accomplish the same task. They are the ShapeFileLayer.QueryTools.GetFeatureByID method and the ShapeFileLayer.FeatureSource.GetFeatureByID method. Is there a difference between the two? Is one preferrable to the other?
Thank you,
Binu