コード例 #1
0
 /// <summary>
 /// Create a new wsPartner object.
 /// </summary>
 /// <param name="partner_id">Initial value of the partner_id property.</param>
 /// <param name="partner_name">Initial value of the partner_name property.</param>
 /// <param name="qbe">Initial value of the qbe property.</param>
 /// <param name="active">Initial value of the active property.</param>
 /// <param name="partner_phone">Initial value of the partner_phone property.</param>
 public static wsPartner CreatewsPartner(global::System.Int32 partner_id, global::System.String partner_name, global::System.Boolean qbe, global::System.Boolean active, global::System.String partner_phone)
 {
     wsPartner wsPartner = new wsPartner();
     wsPartner.partner_id = partner_id;
     wsPartner.partner_name = partner_name;
     wsPartner.qbe = qbe;
     wsPartner.active = active;
     wsPartner.partner_phone = partner_phone;
     return wsPartner;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the wsPartners EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTowsPartners(wsPartner wsPartner)
 {
     base.AddObject("wsPartners", wsPartner);
 }