/// <summary>
 /// Update a PassNoteBookDetail.
 /// </summary>
 public void Update(Model.PassNoteBookDetail passNoteBookDetail)
 {
     //
     // todo: add other logic here.
     //
     accessor.Update(passNoteBookDetail);
 }
 /// <summary>
 /// Insert a PassNoteBookDetail.
 /// </summary>
 public void Insert(Model.PassNoteBookDetail passNoteBookDetail)
 {
     //
     // todo:add other logic here
     //
     accessor.Insert(passNoteBookDetail);
 }
예제 #3
0
        public bool ExistsExcept(Model.PassNoteBookDetail e)
        {
            Hashtable paras = new Hashtable();

            paras.Add("newId", e.Id);
            paras.Add("oldId", Get(e.PassNoteBookDetailId) == null?null:Get(e.PassNoteBookDetailId).Id);
            return(sqlmapper.QueryForObject <bool>("PassNoteBookDetail.existsexcept", paras));
        }
예제 #4
0
 public bool ExistsExcept(Model.PassNoteBookDetail e)
 {
     return(accessor.ExistsExcept(e));
 }
예제 #5
0
 public void Update(Model.PassNoteBookDetail e)
 {
     this.Update <Model.PassNoteBookDetail>(e);
 }
예제 #6
0
 public void Insert(Model.PassNoteBookDetail e)
 {
     this.Insert <Model.PassNoteBookDetail>(e);
 }