void fees_InitBeforeAdd(ref object entity) { CarFee tmp = new CarFee(); tmp.Hmhp = this.txtHmhp.Text.Trim(); entity = tmp; //throw new Exception("The method or operation is not implemented."); }