コード例 #1
0
        public void Insert(string UserName, int TestTypeId)
        {
            LUserTestType item = new LUserTestType();

            item.UserName = UserName;

            item.TestTypeId = TestTypeId;


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

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

            item.UserName = UserName;

            item.TestTypeId = TestTypeId;

            item.Save(UserName);
        }
コード例 #3
0
 public bool Destroy(object UserName)
 {
     return(LUserTestType.Destroy(UserName) == 1);
 }
コード例 #4
0
 public bool Delete(object UserName)
 {
     return(LUserTestType.Delete(UserName) == 1);
 }