Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProfileQuestions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfileQuestions(ProfileQuestions profileQuestions)
 {
     base.AddObject("ProfileQuestions", profileQuestions);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new ProfileQuestions object.
 /// </summary>
 /// <param name="pq_id">Initial value of the pq_id property.</param>
 /// <param name="pt_id">Initial value of the pt_id property.</param>
 /// <param name="pq_name">Initial value of the pq_name property.</param>
 /// <param name="pq_altname">Initial value of the pq_altname property.</param>
 /// <param name="pq_description">Initial value of the pq_description property.</param>
 /// <param name="pq_hint">Initial value of the pq_hint property.</param>
 /// <param name="pq_edit_style">Initial value of the pq_edit_style property.</param>
 /// <param name="pq_show_style">Initial value of the pq_show_style property.</param>
 /// <param name="pq_search_style">Initial value of the pq_search_style property.</param>
 /// <param name="pq_required">Initial value of the pq_required property.</param>
 /// <param name="pq_priority">Initial value of the pq_priority property.</param>
 /// <param name="pq_requires_approval">Initial value of the pq_requires_approval property.</param>
 /// <param name="pq_visible_male">Initial value of the pq_visible_male property.</param>
 /// <param name="pq_visible_female">Initial value of the pq_visible_female property.</param>
 /// <param name="pq_visible_couple">Initial value of the pq_visible_couple property.</param>
 /// <param name="pq_viewpaidonly">Initial value of the pq_viewpaidonly property.</param>
 /// <param name="pq_editpaidonly">Initial value of the pq_editpaidonly property.</param>
 public static ProfileQuestions CreateProfileQuestions(global::System.Int32 pq_id, global::System.Int32 pt_id, global::System.String pq_name, global::System.String pq_altname, global::System.String pq_description, global::System.String pq_hint, global::System.Int32 pq_edit_style, global::System.Int32 pq_show_style, global::System.Int32 pq_search_style, global::System.Boolean pq_required, global::System.Int32 pq_priority, global::System.Boolean pq_requires_approval, global::System.Boolean pq_visible_male, global::System.Boolean pq_visible_female, global::System.Boolean pq_visible_couple, global::System.Boolean pq_viewpaidonly, global::System.Boolean pq_editpaidonly)
 {
     ProfileQuestions profileQuestions = new ProfileQuestions();
     profileQuestions.pq_id = pq_id;
     profileQuestions.pt_id = pt_id;
     profileQuestions.pq_name = pq_name;
     profileQuestions.pq_altname = pq_altname;
     profileQuestions.pq_description = pq_description;
     profileQuestions.pq_hint = pq_hint;
     profileQuestions.pq_edit_style = pq_edit_style;
     profileQuestions.pq_show_style = pq_show_style;
     profileQuestions.pq_search_style = pq_search_style;
     profileQuestions.pq_required = pq_required;
     profileQuestions.pq_priority = pq_priority;
     profileQuestions.pq_requires_approval = pq_requires_approval;
     profileQuestions.pq_visible_male = pq_visible_male;
     profileQuestions.pq_visible_female = pq_visible_female;
     profileQuestions.pq_visible_couple = pq_visible_couple;
     profileQuestions.pq_viewpaidonly = pq_viewpaidonly;
     profileQuestions.pq_editpaidonly = pq_editpaidonly;
     return profileQuestions;
 }