コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the feedbacks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTofeedbacks(feedback feedback)
 {
     base.AddObject("feedbacks", feedback);
 }
コード例 #2
0
 /// <summary>
 /// Create a new feedback object.
 /// </summary>
 /// <param name="department">Initial value of the department property.</param>
 /// <param name="empno">Initial value of the empno property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="email_id">Initial value of the Email_id property.</param>
 /// <param name="landline">Initial value of the landline property.</param>
 /// <param name="cell">Initial value of the cell property.</param>
 /// <param name="q1">Initial value of the q1 property.</param>
 /// <param name="q2">Initial value of the q2 property.</param>
 /// <param name="q3">Initial value of the q3 property.</param>
 /// <param name="q4">Initial value of the q4 property.</param>
 /// <param name="q5">Initial value of the q5 property.</param>
 /// <param name="q6">Initial value of the q6 property.</param>
 /// <param name="q7">Initial value of the q7 property.</param>
 /// <param name="q8">Initial value of the q8 property.</param>
 /// <param name="q9">Initial value of the q9 property.</param>
 /// <param name="q10">Initial value of the q10 property.</param>
 /// <param name="q11">Initial value of the q11 property.</param>
 /// <param name="q12">Initial value of the q12 property.</param>
 /// <param name="suggestions">Initial value of the suggestions property.</param>
 /// <param name="besttechno">Initial value of the besttechno property.</param>
 public static feedback Createfeedback(global::System.String department, global::System.Decimal empno, global::System.String name, global::System.String email_id, global::System.Decimal landline, global::System.Decimal cell, global::System.Decimal q1, global::System.Decimal q2, global::System.Decimal q3, global::System.Decimal q4, global::System.Decimal q5, global::System.Decimal q6, global::System.Decimal q7, global::System.Decimal q8, global::System.Decimal q9, global::System.Decimal q10, global::System.Decimal q11, global::System.Decimal q12, global::System.String suggestions, global::System.String besttechno)
 {
     feedback feedback = new feedback();
     feedback.department = department;
     feedback.empno = empno;
     feedback.name = name;
     feedback.Email_id = email_id;
     feedback.landline = landline;
     feedback.cell = cell;
     feedback.q1 = q1;
     feedback.q2 = q2;
     feedback.q3 = q3;
     feedback.q4 = q4;
     feedback.q5 = q5;
     feedback.q6 = q6;
     feedback.q7 = q7;
     feedback.q8 = q8;
     feedback.q9 = q9;
     feedback.q10 = q10;
     feedback.q11 = q11;
     feedback.q12 = q12;
     feedback.suggestions = suggestions;
     feedback.besttechno = besttechno;
     return feedback;
 }