Changes between Version 12 and Version 13 of FDORfc28
- Timestamp:
- 10/21/08 11:46:30 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc28
v12 v13 56 56 57 57 {{{ 58 FdoPtr<FdoISelect Aggregates> selectAggregates = (FdoISelectAggregates*)mConnection->CreateCommand (FdoCommandType_SelectAggregates);59 select Aggregates->SetFeatureClassName (L"POLE");60 FdoPtr<FdoIdentifierCollection> idColl = select Aggregates->GetPropertyNames();58 FdoPtr<FdoISelect> select = (FdoISelect*)mConnection->CreateCommand (FdoCommandType_Select); 59 select->SetFeatureClassName (L"POLE"); 60 FdoPtr<FdoIdentifierCollection> idColl = select->GetPropertyNames(); 61 61 62 62 FdoPtr<FdoExpressionCollection> functionArgs = FdoExpressionCollection::Create(); 63 63 FdoPtr<FdoIdentifier> arg1 = FdoIdentifier::Create(L"GEOMETRY"); 64 64 functionArgs->Add(arg1); 65 FdoPtr<FdoFunction> computedExpr = FdoFunction::Create(L"STARTX", functionArgs);66 FdoPtr<FdoComputedIdentifier> computedId = FdoComputedIdentifier::Create(L"POLE_ X", computedExpr);65 FdoPtr<FdoFunction> expr = FdoFunction::Create(L"STARTX", functionArgs); 66 FdoPtr<FdoComputedIdentifier> computedId = FdoComputedIdentifier::Create(L"POLE_STARTX", expr); 67 67 idColl->Add(computedId); 68 68 69 FdoPtr<FdoI DataReader> reader = selectAggregates->Execute ();69 FdoPtr<FdoIFeatureReader> reader = select->Execute (); 70 70 }}} 71 71