/// <summary> /// Create a new SelectorColorAdvice object. /// </summary> /// <param name="carCD">Initial value of the CarCD property.</param> /// <param name="makeCD">Initial value of the MakeCD property.</param> /// <param name="yearCD">Initial value of the YearCD property.</param> /// <param name="modelCD">Initial value of the ModelCD property.</param> /// <param name="bodyCD">Initial value of the BodyCD property.</param> /// <param name="catalogCD">Initial value of the CatalogCD property.</param> /// <param name="interiorColorCD">Initial value of the InteriorColorCD property.</param> /// <param name="prodCD">Initial value of the ProdCD property.</param> /// <param name="colorCD">Initial value of the ColorCD property.</param> public static SelectorColorAdvice CreateSelectorColorAdvice(global::System.String carCD, global::System.String makeCD, global::System.Decimal yearCD, global::System.String modelCD, global::System.String bodyCD, global::System.String catalogCD, global::System.String interiorColorCD, global::System.String prodCD, global::System.String colorCD) { SelectorColorAdvice selectorColorAdvice = new SelectorColorAdvice(); selectorColorAdvice.CarCD = carCD; selectorColorAdvice.MakeCD = makeCD; selectorColorAdvice.YearCD = yearCD; selectorColorAdvice.ModelCD = modelCD; selectorColorAdvice.BodyCD = bodyCD; selectorColorAdvice.CatalogCD = catalogCD; selectorColorAdvice.InteriorColorCD = interiorColorCD; selectorColorAdvice.ProdCD = prodCD; selectorColorAdvice.ColorCD = colorCD; return selectorColorAdvice; }
/// <summary> /// Deprecated Method for adding a new object to the SelectorColorAdvices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSelectorColorAdvices(SelectorColorAdvice selectorColorAdvice) { base.AddObject("SelectorColorAdvices", selectorColorAdvice); }