コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProfileAnswers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfileAnswers(ProfileAnswers profileAnswers)
 {
     base.AddObject("ProfileAnswers", profileAnswers);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProfileAnswers object.
 /// </summary>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="pq_id">Initial value of the pq_id property.</param>
 /// <param name="pa_value">Initial value of the pa_value property.</param>
 /// <param name="pa_approved">Initial value of the pa_approved property.</param>
 public static ProfileAnswers CreateProfileAnswers(global::System.String u_username, global::System.Int32 pq_id, global::System.String pa_value, global::System.Boolean pa_approved)
 {
     ProfileAnswers profileAnswers = new ProfileAnswers();
     profileAnswers.u_username = u_username;
     profileAnswers.pq_id = pq_id;
     profileAnswers.pa_value = pa_value;
     profileAnswers.pa_approved = pa_approved;
     return profileAnswers;
 }