/// <summary> /// Fetches a business object's data /// </summary> /// <param name="continentCode">a iso</param> public void FetchById(string continentCode) { DataTable dt = _geoContinentDA.GetById(continentCode); PopulateDataMembersFromDataRow(dt.Rows[0]); }
/// <summary> /// Fetch all the GeoContinent's with a given id. This should normally create a collection /// with either 0 or 1 GeoContinent's. This way the single GeoContinent can be data binded to a data control. /// </summary> /// <param name="iso">a iso</param> public void FetchForId(string iso) { DataTable dt = _da.GetById(iso); PopulateFromDataTable(dt); }