public void CopyTo(BasCustom obj) { obj.CODE = this.CODE; obj.NAME = this.NAME; obj.ADDRESS = this.ADDRESS; obj.TransType = this.TransType; obj.ReceiveArea = this.ReceiveArea; obj.CONTACT = this.CONTACT; obj.MOBILE = this.MOBILE; obj.FAX = this.FAX; obj.InvoiceName = this.InvoiceName; obj.InvoiceNumber = this.InvoiceNumber; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; }
public Object Clone() { BasCustom obj = new BasCustom(); obj.CODE = this.CODE; obj.NAME = this.NAME; obj.ADDRESS = this.ADDRESS; obj.TransType = this.TransType; obj.ReceiveArea = this.ReceiveArea; obj.CONTACT = this.CONTACT; obj.MOBILE = this.MOBILE; obj.FAX = this.FAX; obj.InvoiceName = this.InvoiceName; obj.InvoiceNumber = this.InvoiceNumber; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; return(obj); }