I know how to return a PageReference to edit and view a sObject:
PageReference ref = new ApexPages.StandardController(bnk).edit();
But the StandardController class hasn't any method like create.
How can I return the page to create the sObject.
I also know the method like:
PageReference ref = new PageReference('/a00/e');
but the sObject has many lookup fields. This method can't take out the reference lookup fields. It only can create a standalone sObject.
So how to return the create page and also take out the reference lookup fields?