コード例 #1
0
 /// <summary>
 /// Create a new SelectorCar 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="patternProdCD">Initial value of the PatternProdCD property.</param>
 /// <param name="catalogSetid">Initial value of the CatalogSetid property.</param>
 /// <param name="patternProdSetid">Initial value of the PatternProdSetid property.</param>
 public static SelectorCar CreateSelectorCar(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 patternProdCD, global::System.String catalogSetid, global::System.String patternProdSetid)
 {
     SelectorCar selectorCar = new SelectorCar();
     selectorCar.CarCD = carCD;
     selectorCar.MakeCD = makeCD;
     selectorCar.YearCD = yearCD;
     selectorCar.ModelCD = modelCD;
     selectorCar.BodyCD = bodyCD;
     selectorCar.CatalogCD = catalogCD;
     selectorCar.PatternProdCD = patternProdCD;
     selectorCar.CatalogSetid = catalogSetid;
     selectorCar.PatternProdSetid = patternProdSetid;
     return selectorCar;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SelectorCars EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSelectorCars(SelectorCar selectorCar)
 {
     base.AddObject("SelectorCars", selectorCar);
 }