Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
DAS* das = DASImpl::getFactory().createDAS(Config("BooksConfigWithAlias.xml"), getConnection());

   CommandPtr select = das->getCommand("get book by ID equal 1");

   DataObjectPtr root = select->executeQuery();
   wstring author = root->getCString("Book[1]/Writer"));    delete das; 

Here is the associated configuration file:

...