Gets a collection of Room from the already loaded records in this DataManager instance.
A collection of Room objects.
This method is made available for when the dataset has been serialized from session state or disk. This method will return all Room loaded.
This example shows a reason to use this method.
/* first web page - save dataset and primary keys */ Session["DataSet"] = dm.DataSet; Session["RoomID"] = _Room.ID; /* second web page - need to get current contact */ DataManager dm = new DataManager(Config.Dsn); dm.DataSet = (DataSet)Session["DataSet"]; _Room = dm.GetContactFromDataSet((int)Session["RoomID"]);
DataManager Class | OleroTrainingBiz Namespace