示例#1
0
 public bool Add(AttachmentType obj)
 {
     return(database.ExecuteNonQuery("AddAttachmentType", obj.Name) > 0);
 }
示例#2
0
 public bool Edit(AttachmentType obj)
 {
     return(database.ExecuteNonQuery("EditAttachmentType", obj.Id, obj.Name) > 0);
 }