Exemple #1
0
        public ClassNames(int class_Name_ID)
        {
            ClassNamesBL classNames = new ClassNamesBL();
            lkpClassNames = classNames.GetClass_NameByClass_Name_ID(class_Name_ID);

            Class_Name_ID = class_Name_ID;
            Description = lkpClassNames[0].Class_Name_Description;
            Class_Name_Description = Description;
        }
Exemple #2
0
        public List<ClassNames> GetClass_Names()
        {
            List<ClassNames> classNameList = new List<ClassNames>();
            ClassNamesBL classNames = new ClassNamesBL();
            lkpClassNames = classNames.GetClass_Names();

            if (lkpClassNames != null && lkpClassNames.Count > 0)
            {
                foreach (sss.lkpClass_NamesRow row in lkpClassNames)
                {
                    ClassNames className = new ClassNames(row.Class_Name_ID);
                    classNameList.Add(className);
                }
            }

            return classNameList;
        }
Exemple #3
0
 public ClassNames()
 {
     ClassNamesBL classNames = new ClassNamesBL();
     lkpClassNames = classNames.GetClass_Names();
 }