Changes between Version 12 and Version 13 of FDORfc28


Ignore:
Timestamp:
10/21/08 11:46:30 (16 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc28

    v12 v13  
    5656
    5757{{{
    58 FdoPtr<FdoISelectAggregates> selectAggregates = (FdoISelectAggregates*)mConnection->CreateCommand (FdoCommandType_SelectAggregates);
    59 selectAggregates->SetFeatureClassName (L"POLE");
    60 FdoPtr<FdoIdentifierCollection> idColl = selectAggregates->GetPropertyNames();
     58FdoPtr<FdoISelect> select = (FdoISelect*)mConnection->CreateCommand (FdoCommandType_Select);
     59select->SetFeatureClassName (L"POLE");
     60FdoPtr<FdoIdentifierCollection> idColl = select->GetPropertyNames();
    6161
    6262FdoPtr<FdoExpressionCollection> functionArgs = FdoExpressionCollection::Create();
    6363FdoPtr<FdoIdentifier> arg1 = FdoIdentifier::Create(L"GEOMETRY");
    6464functionArgs->Add(arg1);
    65 FdoPtr<FdoFunction> computedExpr = FdoFunction::Create(L"STARTX", functionArgs);
    66 FdoPtr<FdoComputedIdentifier> computedId = FdoComputedIdentifier::Create(L"POLE_X", computedExpr);
     65FdoPtr<FdoFunction> expr = FdoFunction::Create(L"STARTX", functionArgs);
     66FdoPtr<FdoComputedIdentifier> computedId = FdoComputedIdentifier::Create(L"POLE_STARTX", expr);
    6767idColl->Add(computedId);
    6868
    69 FdoPtr<FdoIDataReader> reader = selectAggregates->Execute ();
     69FdoPtr<FdoIFeatureReader> reader = select->Execute ();
    7070}}}
    7171