public void CopyTo(BasMateriel obj) { obj.CPARTNO = this.CPARTNO; obj.QPARTNO = this.QPARTNO; obj.NAME = this.NAME; obj.CUSTOMER = this.CUSTOMER; obj.BasQty = this.BasQty; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; }
public Object Clone() { BasMateriel obj = new BasMateriel(); obj.CPARTNO = this.CPARTNO; obj.QPARTNO = this.QPARTNO; obj.NAME = this.NAME; obj.CUSTOMER = this.CUSTOMER; obj.BasQty = this.BasQty; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; return(obj); }