public ADOApplyBuy() { MainInstance = new ADORec_Main(); DetailInstance = new ADOWH_ApplyBuy(); DetailInstance.idb.SetConnection(MainInstance.idb.GetConnection()); }