Пример #1
0
 /// <summary>
 /// 用于向 TAOKEPRODUCT EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTAOKEPRODUCT(TAOKEPRODUCT tAOKEPRODUCT)
 {
     base.AddObject("TAOKEPRODUCT", tAOKEPRODUCT);
 }
Пример #2
0
 /// <summary>
 /// 创建新的 TAOKEPRODUCT 对象。
 /// </summary>
 /// <param name="productID">ProductID 属性的初始值。</param>
 /// <param name="productTitle">ProductTitle 属性的初始值。</param>
 /// <param name="productPic">ProductPic 属性的初始值。</param>
 /// <param name="productPrice">ProductPrice 属性的初始值。</param>
 /// <param name="productUrl">ProductUrl 属性的初始值。</param>
 /// <param name="shopName">ShopName 属性的初始值。</param>
 /// <param name="shopLevel">ShopLevel 属性的初始值。</param>
 /// <param name="shopUrl">ShopUrl 属性的初始值。</param>
 /// <param name="productStatus">ProductStatus 属性的初始值。</param>
 /// <param name="cateCode">CateCode 属性的初始值。</param>
 /// <param name="createUserID">CreateUserID 属性的初始值。</param>
 /// <param name="createTime">CreateTime 属性的初始值。</param>
 public static TAOKEPRODUCT CreateTAOKEPRODUCT(global::System.String productID, global::System.String productTitle, global::System.String productPic, global::System.Decimal productPrice, global::System.String productUrl, global::System.String shopName, global::System.Int16 shopLevel, global::System.String shopUrl, global::System.String productStatus, global::System.Int32 cateCode, global::System.Int32 createUserID, global::System.DateTime createTime)
 {
     TAOKEPRODUCT tAOKEPRODUCT = new TAOKEPRODUCT();
     tAOKEPRODUCT.ProductID = productID;
     tAOKEPRODUCT.ProductTitle = productTitle;
     tAOKEPRODUCT.ProductPic = productPic;
     tAOKEPRODUCT.ProductPrice = productPrice;
     tAOKEPRODUCT.ProductUrl = productUrl;
     tAOKEPRODUCT.ShopName = shopName;
     tAOKEPRODUCT.ShopLevel = shopLevel;
     tAOKEPRODUCT.ShopUrl = shopUrl;
     tAOKEPRODUCT.ProductStatus = productStatus;
     tAOKEPRODUCT.CateCode = cateCode;
     tAOKEPRODUCT.CreateUserID = createUserID;
     tAOKEPRODUCT.CreateTime = createTime;
     return tAOKEPRODUCT;
 }