/// <summary>
 /// 得到一个对象实体.
 /// </summary>
 public InstrumentAttachmentModel GetByPk(InstrumentAttachmentModel model)
 {
     return(DBProvider.dbMapper.SelectObject <InstrumentAttachmentModel>("BaseData_InstrumentAttachment.GetByPk", model));
 }
 /// <summary>
 /// 更新一条数据.
 /// </summary>
 public void Update(InstrumentAttachmentModel model)
 {
     DBProvider.dbMapper.Update("BaseData_InstrumentAttachment.Update", model);
 }
 /// <summary>
 /// 删除一条数据.
 /// </summary>
 public void DeleteByPk(InstrumentAttachmentModel model)
 {
     DBProvider.dbMapper.Delete("BaseData_InstrumentAttachment.DeleteByPk", model);
 }
 /// <summary>
 /// 增加一条数据.
 /// </summary>
 public void Add(InstrumentAttachmentModel model)
 {
     DBProvider.dbMapper.Insert("BaseData_InstrumentAttachment.Insert", model);
 }