Database Construct deprecated in 2.2b

Database Construct deprecated in 2.2b

BY 11 Jul 2013 Native Application Development

The API checker says that this method is deprecated in 2,2b but the help document says it is not

String dbName = App::GetInstance()->GetAppDataPath() + L“sample.db”);

pDatabase = new Database();

r = pDatabase->Construct(dbName, “a+”);  //deprecated
 

What is the alternative for this method in sdk 2.2b?

Written by