public void CopyToBase(TCom.EF.Merc merc) { merc.idmerc = this.idmerc; merc.idtype = this.idtype; merc.merc1 = this.merc1; merc.sellpt = this.sellpt; merc.baseprice = this.baseprice; merc.sellcount = this.sellcount; merc.stime = this.stime; merc.cretime = this.cretime; merc.entime = this.entime; merc.netype = (int)this.netype; merc.imgs = this.imgs; merc.descs = this.descs; merc.notes = this.notes; merc.sortno = this.sortno; merc.isetup = this.isetup; merc.inuse = this.inuse; merc.idbuss = this.idbuss; merc.idclass = this.idclass; }
public void CopyFromBase(TCom.EF.Merc merc) { this.idmerc = merc.idmerc; this.idtype = merc.idtype; this.merc1 = merc.merc1; this.sellpt = merc.sellpt; this.baseprice = merc.baseprice; this.sellcount = merc.sellcount; this.stime = merc.stime; this.cretime = merc.cretime; this.entime = merc.entime; this.netype = (Netype)merc.netype; this.imgs = merc.imgs; this.descs = merc.descs; this.notes = merc.notes; this.sortno = merc.sortno; this.isetup = merc.isetup; this.inuse = merc.inuse; this.idbuss = merc.idbuss; this.idclass = merc.idclass; }