コード例 #1
0
 /// <summary>
 /// Create a new SurveyResponses object.
 /// </summary>
 /// <param name="responseGuid">Initial value of the ResponseGuid property.</param>
 /// <param name="surveyGuid">Initial value of the SurveyGuid property.</param>
 /// <param name="annonymous">Initial value of the Annonymous property.</param>
 /// <param name="complete">Initial value of the Complete property.</param>
 public static SurveyResponses CreateSurveyResponses(global::System.Guid responseGuid, global::System.Guid surveyGuid, global::System.Boolean annonymous, global::System.Boolean complete)
 {
     SurveyResponses surveyResponses = new SurveyResponses();
     surveyResponses.ResponseGuid = responseGuid;
     surveyResponses.SurveyGuid = surveyGuid;
     surveyResponses.Annonymous = annonymous;
     surveyResponses.Complete = complete;
     return surveyResponses;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SurveyResponses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSurveyResponses(SurveyResponses surveyResponses)
 {
     base.AddObject("SurveyResponses", surveyResponses);
 }