Example #1
0
        /// <summary>
        /// Fetch all the GeoCountry's with a given id. This should normally create a collection
        /// with either 0 or 1 GeoCountry's. This way the single GeoCountry 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);
        }
Example #2
0
        /// <summary>
        /// Fetches a business object's data
        /// </summary>
        /// <param name="iso">a iso</param>
        public void FetchById(string iso)
        {
            DataTable dt = _geoCountryDA.GetById(iso);

            PopulateDataMembersFromDataRow(dt.Rows[0]);
        }