コード例 #1
0
        public void Insert(string TypeName, string Description)
        {
            DDSearchType item = new DDSearchType();

            item.TypeName = TypeName;

            item.Description = Description;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int TypeID, string TypeName, string Description)
        {
            DDSearchType item = new DDSearchType();

            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(DDSearchType.Destroy(TypeID) == 1);
 }
コード例 #4
0
 public bool Delete(object TypeID)
 {
     return(DDSearchType.Delete(TypeID) == 1);
 }