예제 #1
0
 /// <summary>
 /// 用于向 tb_form EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTotb_form(tb_form tb_form)
 {
     base.AddObject("tb_form", tb_form);
 }
예제 #2
0
 /// <summary>
 /// 创建新的 tb_form 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="formid">formid 属性的初始值。</param>
 /// <param name="commo_id">commo_id 属性的初始值。</param>
 /// <param name="commo_name">commo_name 属性的初始值。</param>
 /// <param name="commo_num">commo_num 属性的初始值。</param>
 /// <param name="agoprice">agoprice 属性的初始值。</param>
 /// <param name="fold">fold 属性的初始值。</param>
 /// <param name="vendee">vendee 属性的初始值。</param>
 /// <param name="taker">taker 属性的初始值。</param>
 /// <param name="address">address 属性的初始值。</param>
 /// <param name="tel">tel 属性的初始值。</param>
 /// <param name="code">code 属性的初始值。</param>
 /// <param name="pay_method">pay_method 属性的初始值。</param>
 /// <param name="del_method">del_method 属性的初始值。</param>
 /// <param name="formtime">formtime 属性的初始值。</param>
 /// <param name="total">total 属性的初始值。</param>
 /// <param name="state">state 属性的初始值。</param>
 /// <param name="location">location 属性的初始值。</param>
 public static tb_form Createtb_form(global::System.Int32 id, global::System.String formid, global::System.String commo_id, global::System.String commo_name, global::System.String commo_num, global::System.String agoprice, global::System.String fold, global::System.String vendee, global::System.String taker, global::System.String address, global::System.String tel, global::System.String code, global::System.String pay_method, global::System.String del_method, global::System.DateTime formtime, global::System.String total, global::System.Int32 state, global::System.String location)
 {
     tb_form tb_form = new tb_form();
     tb_form.id = id;
     tb_form.formid = formid;
     tb_form.commo_id = commo_id;
     tb_form.commo_name = commo_name;
     tb_form.commo_num = commo_num;
     tb_form.agoprice = agoprice;
     tb_form.fold = fold;
     tb_form.vendee = vendee;
     tb_form.taker = taker;
     tb_form.address = address;
     tb_form.tel = tel;
     tb_form.code = code;
     tb_form.pay_method = pay_method;
     tb_form.del_method = del_method;
     tb_form.formtime = formtime;
     tb_form.total = total;
     tb_form.state = state;
     tb_form.location = location;
     return tb_form;
 }