Free Support Forum - aspose.com

Opening a specific project from a database

I have a projects database containing 50,000 projects and I want to open just one of them. I know the name of the project and even its ID. I have seen your example on opening from a database but your example iterates through all the projects. Iterating through 50,000 projects is obviously not an acceptible solution.

I also noticed that the MPDPrjInfo class has no constructer and its properties are read-only.

So, how do I tell the ReadMPDProject() method to read a speficic project without having to use GetEnumerator() and MoveNext() to create a MPDPrjInfo object?