/// <summary> /// Deprecated Method for adding a new object to the FactSurveyResponses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFactSurveyResponses(FactSurveyResponse factSurveyResponse) { base.AddObject("FactSurveyResponses", factSurveyResponse); }
/// <summary> /// Create a new FactSurveyResponse object. /// </summary> /// <param name="surveyResponseKey">Initial value of the SurveyResponseKey property.</param> /// <param name="dateKey">Initial value of the DateKey property.</param> /// <param name="customerKey">Initial value of the CustomerKey property.</param> /// <param name="productCategoryKey">Initial value of the ProductCategoryKey property.</param> /// <param name="englishProductCategoryName">Initial value of the EnglishProductCategoryName property.</param> /// <param name="productSubcategoryKey">Initial value of the ProductSubcategoryKey property.</param> /// <param name="englishProductSubcategoryName">Initial value of the EnglishProductSubcategoryName property.</param> public static FactSurveyResponse CreateFactSurveyResponse(global::System.Int32 surveyResponseKey, global::System.Int32 dateKey, global::System.Int32 customerKey, global::System.Int32 productCategoryKey, global::System.String englishProductCategoryName, global::System.Int32 productSubcategoryKey, global::System.String englishProductSubcategoryName) { FactSurveyResponse factSurveyResponse = new FactSurveyResponse(); factSurveyResponse.SurveyResponseKey = surveyResponseKey; factSurveyResponse.DateKey = dateKey; factSurveyResponse.CustomerKey = customerKey; factSurveyResponse.ProductCategoryKey = productCategoryKey; factSurveyResponse.EnglishProductCategoryName = englishProductCategoryName; factSurveyResponse.ProductSubcategoryKey = productSubcategoryKey; factSurveyResponse.EnglishProductSubcategoryName = englishProductSubcategoryName; return factSurveyResponse; }