예제 #1
0
        public void Insert(string TypeName, string Description)
        {
            DDCertType item = new DDCertType();

            item.TypeName = TypeName;

            item.Description = Description;


            item.Save(UserName);
        }
예제 #2
0
        public void Update(int TypeID, string TypeName, string Description)
        {
            DDCertType item = new DDCertType();

            item.MarkOld();
            item.IsLoaded = true;

            item.TypeID = TypeID;

            item.TypeName = TypeName;

            item.Description = Description;

            item.Save(UserName);
        }
예제 #3
0
 public bool Destroy(object TypeID)
 {
     return(DDCertType.Destroy(TypeID) == 1);
 }
예제 #4
0
 public bool Delete(object TypeID)
 {
     return(DDCertType.Delete(TypeID) == 1);
 }