[mapguide-users] King.Oracle return allways all columns
Bruno Scott
bscott at geomapgis.com
Tue Feb 6 05:46:58 EST 2007
I'm trying to select a single column using the King.Oracle FDO provider
But it allways return all columns
This is a sample code of what i'm trying to do
FdoPtr<FdoISelect> sampleSelect;
FdoPtr<FdoIFeatureReader> sampleFeatureReader;
FdoPtr<FdoIdentifier> queryPropertyName;
sampleSelect = (FdoISelect
*)m_connection->CreateCommand(FdoCommandType_Select);
sampleSelect->SetFeatureClassName("MyFeatureClassName");
FdoPtr<FdoIdentifierCollection> propertyCollection =
sampleSelect->GetPropertyNames();
queryPropertyName = FdoIdentifier::Create("MyColumnName");
propertyCollection->Add(queryPropertyName);
sampleFeatureReader = sampleSelect->Execute();
When i drill down the featureReader it return all columns with all values...
This same code works fine with other provider like the SDF..
Bruno Scott
--
View this message in context: http://www.nabble.com/King.Oracle-return-allways-all-columns-tf3179966s16610.html#a8823971
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list