/// <summary> /// Create a new CustomerSurvey object. /// </summary> /// <param name="surveyID">Initial value of the SurveyID property.</param> /// <param name="surveyDate">Initial value of the SurveyDate property.</param> public static CustomerSurvey CreateCustomerSurvey(global::System.Int32 surveyID, global::System.DateTime surveyDate) { CustomerSurvey customerSurvey = new CustomerSurvey(); customerSurvey.SurveyID = surveyID; customerSurvey.SurveyDate = surveyDate; return customerSurvey; }
/// <summary> /// Deprecated Method for adding a new object to the CustomerSurveys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerSurveys(CustomerSurvey customerSurvey) { base.AddObject("CustomerSurveys", customerSurvey); }