Gets a OleroTrainingBiz.Teacher from the already loaded records in this DataManager, by primary key.
A Teacher, or null if not found
This method is made available for when the dataset has been serialized from session state or disk.
This example shows a reason to use this method.
/* first web page - save dataset and primary keys */ Session["DataSet"] = dm.DataSet; Session["TeacherID"] = _Teacher.ID; /* second web page - need to get currend contact */ DataManager dm = new DataManager(Config.Dsn); dm.DataSet = (DataSet)Session["DataSet"]; _Teacher = dm.GetContactFromDataSet((System.Int32)Session["TeacherID"]);
delICustomTypeDescriptorGetClassName.html">ICustomTypeDescriptor.GetClassName (inherited from BusinessBase)