/// <summary> /// Create a new Carbrand object. /// </summary> /// <param name="carbrandID">Initial value of the CarbrandID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="clicks">Initial value of the Clicks property.</param> public static Carbrand CreateCarbrand(global::System.Int32 carbrandID, global::System.String name, global::System.Int32 clicks) { Carbrand carbrand = new Carbrand(); carbrand.CarbrandID = carbrandID; carbrand.Name = name; carbrand.Clicks = clicks; return carbrand; }
/// <summary> /// Deprecated Method for adding a new object to the Carbrands EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCarbrands(Carbrand carbrand) { base.AddObject("Carbrands", carbrand); }