예제 #1
0
        public static ClsTreatment GetByTreatmentID(int ID)
        {
            ClsTreatment obj = new ClsTreatment();
            DataSet      ds  = new Treatment.DataAccess.ClsTreatmentDataService().Treatment_GetByID(ID);

            if (!obj.MapData(ds))
            {
                obj = null;
            }
            return(obj);
        }
예제 #2
0
 public static ClsTreatment GetByTreatmentID(int ID)
 {
     ClsTreatment obj = new ClsTreatment();
     DataSet ds = new Treatment.DataAccess.ClsTreatmentDataService().Treatment_GetByID(ID);
     if (!obj.MapData(ds)) obj = null;
     return obj;
 }