/// <summary> /// 绑定Grid /// </summary> public override void BindGrid() { VendorTrackRecordRule rule = new VendorTrackRecordRule(); gridView1.GridControl.DataSource = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1)); gridView1.GridControl.Show(); }
/// <summary> /// 删除 /// </summary> public override void EntityDelete() { VendorTrackRecordRule rule = new VendorTrackRecordRule(); VendorTrackRecord entity = EntityGet(); rule.RDelete(entity); }
/// <summary> /// 新增 /// </summary> public override int EntityAdd() { VendorTrackRecordRule rule = new VendorTrackRecordRule(); VendorTrackRecord entity = EntityGet(); rule.RAdd(entity); return(entity.ID); }