Ejemplo n.º 1
0
        /// <summary>
        /// 创建新的 T_WMS_ITEM 对象。
        /// </summary>
        /// <param name="id">ID 属性的初始值。</param>
        /// <param name="dCNO">DCNO 属性的初始值。</param>
        /// <param name="sHIPPER_ID">SHIPPER_ID 属性的初始值。</param>
        /// <param name="iTEMNO">ITEMNO 属性的初始值。</param>
        /// <param name="iTEMNAME">ITEMNAME 属性的初始值。</param>
        /// <param name="sPEC">SPEC 属性的初始值。</param>
        /// <param name="aBCCODE">ABCCODE 属性的初始值。</param>
        /// <param name="iTEMPRICE">ITEMPRICE 属性的初始值。</param>
        /// <param name="sHIPTYPE">SHIPTYPE 属性的初始值。</param>
        /// <param name="iTEMTYPE_ID">ITEMTYPE_ID 属性的初始值。</param>
        /// <param name="pRODUCEAREA">PRODUCEAREA 属性的初始值。</param>
        /// <param name="mANUFACTURER_ID">MANUFACTURER_ID 属性的初始值。</param>
        /// <param name="vENDOR_ID">VENDOR_ID 属性的初始值。</param>
        /// <param name="bASEUOM_ID">BASEUOM_ID 属性的初始值。</param>
        /// <param name="dEFAULTUOM_ID">DEFAULTUOM_ID 属性的初始值。</param>
        /// <param name="sTORAGECONDITION">STORAGECONDITION 属性的初始值。</param>
        /// <param name="iSLOTCTRL">ISLOTCTRL 属性的初始值。</param>
        /// <param name="sHELFLIFE">SHELFLIFE 属性的初始值。</param>
        /// <param name="sHELFLIFETYPE">SHELFLIFETYPE 属性的初始值。</param>
        /// <param name="pALLETRATIO">PALLETRATIO 属性的初始值。</param>
        /// <param name="cREATETIME">CREATETIME 属性的初始值。</param>
        /// <param name="cREATEUSER">CREATEUSER 属性的初始值。</param>
        /// <param name="mODIFYTIME">MODIFYTIME 属性的初始值。</param>
        /// <param name="mODIFYUSER">MODIFYUSER 属性的初始值。</param>
        /// <param name="rOWSTATUS">ROWSTATUS 属性的初始值。</param>
        /// <param name="cATID">CATID 属性的初始值。</param>
        public static T_WMS_ITEM CreateT_WMS_ITEM(global::System.String id, global::System.String dCNO, global::System.Decimal sHIPPER_ID, global::System.String iTEMNO, global::System.String iTEMNAME, global::System.String sPEC, global::System.Decimal aBCCODE, global::System.Decimal iTEMPRICE, global::System.String sHIPTYPE, global::System.String iTEMTYPE_ID, global::System.String pRODUCEAREA, global::System.Decimal mANUFACTURER_ID, global::System.Decimal vENDOR_ID, global::System.Decimal bASEUOM_ID, global::System.Decimal dEFAULTUOM_ID, global::System.Decimal sTORAGECONDITION, global::System.Decimal iSLOTCTRL, global::System.Decimal sHELFLIFE, global::System.String sHELFLIFETYPE, global::System.Int16 pALLETRATIO, global::System.DateTime cREATETIME, global::System.String cREATEUSER, global::System.DateTime mODIFYTIME, global::System.String mODIFYUSER, global::System.Decimal rOWSTATUS, global::System.Decimal cATID)
        {
            T_WMS_ITEM t_WMS_ITEM = new T_WMS_ITEM();

            t_WMS_ITEM.ID               = id;
            t_WMS_ITEM.DCNO             = dCNO;
            t_WMS_ITEM.SHIPPER_ID       = sHIPPER_ID;
            t_WMS_ITEM.ITEMNO           = iTEMNO;
            t_WMS_ITEM.ITEMNAME         = iTEMNAME;
            t_WMS_ITEM.SPEC             = sPEC;
            t_WMS_ITEM.ABCCODE          = aBCCODE;
            t_WMS_ITEM.ITEMPRICE        = iTEMPRICE;
            t_WMS_ITEM.SHIPTYPE         = sHIPTYPE;
            t_WMS_ITEM.ITEMTYPE_ID      = iTEMTYPE_ID;
            t_WMS_ITEM.PRODUCEAREA      = pRODUCEAREA;
            t_WMS_ITEM.MANUFACTURER_ID  = mANUFACTURER_ID;
            t_WMS_ITEM.VENDOR_ID        = vENDOR_ID;
            t_WMS_ITEM.BASEUOM_ID       = bASEUOM_ID;
            t_WMS_ITEM.DEFAULTUOM_ID    = dEFAULTUOM_ID;
            t_WMS_ITEM.STORAGECONDITION = sTORAGECONDITION;
            t_WMS_ITEM.ISLOTCTRL        = iSLOTCTRL;
            t_WMS_ITEM.SHELFLIFE        = sHELFLIFE;
            t_WMS_ITEM.SHELFLIFETYPE    = sHELFLIFETYPE;
            t_WMS_ITEM.PALLETRATIO      = pALLETRATIO;
            t_WMS_ITEM.CREATETIME       = cREATETIME;
            t_WMS_ITEM.CREATEUSER       = cREATEUSER;
            t_WMS_ITEM.MODIFYTIME       = mODIFYTIME;
            t_WMS_ITEM.MODIFYUSER       = mODIFYUSER;
            t_WMS_ITEM.ROWSTATUS        = rOWSTATUS;
            t_WMS_ITEM.CATID            = cATID;
            return(t_WMS_ITEM);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 用于向 T_WMS_ITEM EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToT_WMS_ITEM(T_WMS_ITEM t_WMS_ITEM)
 {
     base.AddObject("T_WMS_ITEM", t_WMS_ITEM);
 }