Exemplo n.º 1
0
        //used by ubf..
        public void FromEntityData(ProductBarCodeByRMADTOData data, IDictionary dict)
        {
            if (data == null)
            {
                return;
            }
            if (dict == null)
            {
                dict = new Hashtable();
            }
            dict[data] = this;
            DeSerializeKey(data);

            this.OrgID = data.OrgID;

            this.ItemID = data.ItemID;

            this.BarCode = data.BarCode;

            this.ActualLength = data.ActualLength;

            this.QcOperator = data.QcOperator;

            this.RMA = data.RMA;

            this.RMALine = data.RMALine;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Create EntityData From Entity - used by ubf
        /// </summary>
        public ProductBarCodeByRMADTOData ToEntityData(ProductBarCodeByRMADTOData data, IDictionary dict)
        {
            if (data == null)
            {
                data = new ProductBarCodeByRMADTOData();
            }
            if (dict == null)
            {
                dict = new Hashtable();
            }
            else
            {
                if (dict.Contains(this))
                {
                    data = (ProductBarCodeByRMADTOData)dict[this];
                    return(data);
                }
            }
            dict[this] = data;

            data.OrgID = this.OrgID;

            data.ItemID = this.ItemID;

            data.BarCode = this.BarCode;

            data.ActualLength = this.ActualLength;

            data.QcOperator = this.QcOperator;

            data.RMA = this.RMA;

            data.RMALine = this.RMALine;

            return(data);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Copy Entity From EntityData
 /// </summary>
 public void FromEntityData(ProductBarCodeByRMADTOData data)
 {
     this.FromEntityData(data, new Hashtable());
 }
Exemplo n.º 4
0
 //反序化Key到Data的ID中 --由FromEntityData自动调用,不处理层次关系
 private void DeSerializeKey(ProductBarCodeByRMADTOData data)
 {
 }