Exemplo n.º 1
0
 /// <summary>
 /// 用于向 tb_commo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTotb_commo(tb_commo tb_commo)
 {
     base.AddObject("tb_commo", tb_commo);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 tb_commo 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="name">name 属性的初始值。</param>
 /// <param name="pics">pics 属性的初始值。</param>
 /// <param name="info">info 属性的初始值。</param>
 /// <param name="addtime">addtime 属性的初始值。</param>
 /// <param name="area">area 属性的初始值。</param>
 /// <param name="model">model 属性的初始值。</param>
 /// <param name="class">class 属性的初始值。</param>
 /// <param name="brand">brand 属性的初始值。</param>
 /// <param name="stocks">stocks 属性的初始值。</param>
 /// <param name="sell">sell 属性的初始值。</param>
 /// <param name="m_price">m_price 属性的初始值。</param>
 /// <param name="v_price">v_price 属性的初始值。</param>
 /// <param name="fold">fold 属性的初始值。</param>
 /// <param name="isnew">isnew 属性的初始值。</param>
 /// <param name="isnom">isnom 属性的初始值。</param>
 public static tb_commo Createtb_commo(global::System.Int32 id, global::System.String name, global::System.String pics, global::System.String info, global::System.DateTime addtime, global::System.String area, global::System.String model, global::System.String @class, global::System.String brand, global::System.Int32 stocks, global::System.Int32 sell, global::System.Single m_price, global::System.Single v_price, global::System.Single fold, global::System.Int32 isnew, global::System.Int32 isnom)
 {
     tb_commo tb_commo = new tb_commo();
     tb_commo.id = id;
     tb_commo.name = name;
     tb_commo.pics = pics;
     tb_commo.info = info;
     tb_commo.addtime = addtime;
     tb_commo.area = area;
     tb_commo.model = model;
     tb_commo.@class = @class;
     tb_commo.brand = brand;
     tb_commo.stocks = stocks;
     tb_commo.sell = sell;
     tb_commo.m_price = m_price;
     tb_commo.v_price = v_price;
     tb_commo.fold = fold;
     tb_commo.isnew = isnew;
     tb_commo.isnom = isnom;
     return tb_commo;
 }