예제 #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);
        }
예제 #2
0
 public static SeriesOPMTitleCollection GetSeriesOPMTitle(int seriesID)
 {
     return(SeriesOPMTitle.GetCollection(ExecuteDataTable("spr_GetSeriesOPMTitlesBySeriesID", seriesID)));
 }