Example #1
0
        public SeriesOPMTitleCollection GetSeriesOPMTitles()
        {
            SeriesOPMTitleCollection childDataCollection = null;

            if (base.ValidateKeyField(this._seriesID))
            {
                try
                {
                    DataTable dt = ExecuteDataTable("spr_GetSeriesOPMTitleBySeriesID", this._seriesID);

                    // fill collection list
                    childDataCollection = SeriesOPMTitle.GetCollection(dt);
                }
                catch (Exception ex)
                {
                    HandleException(ex);
                }
            }

            return(childDataCollection);
        }
Example #2
0
 public static SeriesOPMTitleCollection GetSeriesOPMTitle(int seriesID)
 {
     return(SeriesOPMTitle.GetCollection(ExecuteDataTable("spr_GetSeriesOPMTitlesBySeriesID", seriesID)));
 }