No Marc, that code have to be changed at complete because the intf file generated for a rodl in Delphi for arrays use TROArrays and in dot net use array of item.
Not related to at all, but you are wrong. Ask Evgeny. Im sure he can tell you all new languages feature added in Rio. BTW, I have no idea why are we talking of this? Maybe you can help me with migration of this DA code to Oxygene?
lConnection : IDAConnection;
lQuery : IDADataset;
dw : TDAWhereBuilder;
lConnection := ServerDataModule.ConnectionManager.NewConnection(fDBConexion);
if not lConnection.InTransaction then lConnection.BeginTransaction;
lQuery := SchemaGetDataset(lConnection, ServerDataModule.Schema, 'TABLA');
dw := lQuery.DynamicWhere;
dw.Expression := dw.NewBinaryExpression('', 'IDTABLA', dboEqual, 100);
lQuery.Active := True;
result := lQuery.FieldByName('NAME').AsString;
if lConnection.InTransaction then lConnection.CommitTransaction;
on e:exception do
if lConnection.InTransaction then lConnection.RollbackTransaction;