ORM Sample Class Library

DataManager.GetScheduleCollectionFromDataSet Method 

Gets a collection of Schedule from the already loaded records in this DataManager instance.

[Visual Basic]
Public Function GetScheduleCollectionFromDataSet() As ScheduleCollection
public ScheduleCollection GetScheduleCollectionFromDataSet();

Return Value

A collection of Schedule objects.


This method is made available for when the dataset has been serialized from session state or disk. This method will return all Schedule loaded.


This example shows a reason to use this method.

/* first web page - save dataset and primary keys */
Session["DataSet"] = dm.DataSet;
Session["ScheduleID"] = _Schedule.ID;

/* second web page - need to get current contact */
DataManager dm = new DataManager(Config.Dsn);
dm.DataSet = (DataSet)Session["DataSet"];
_Schedule = dm.GetContactFromDataSet((int)Session["ScheduleID"]);

See Also

DataManager Class | OleroTrainingBiz Namespace

com">Copyright Olero Software Inc. 2002-2004

Generated from assembly OleroTrainingBiz [1.0.1565.29993]


Generated from assembly OleroTrainingBiz [1.0.1565.29993]

delICustomTypeDescriptorGetClassName.html">ICustomTypeDescriptor.GetClassName (inherited from BusinessBase)GetClassName