/// <summary> /// Create a new Dealer object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static Dealer CreateDealer(global::System.Guid id, global::System.String name) { Dealer dealer = new Dealer(); dealer.Id = id; dealer.Name = name; return dealer; }
/// <summary> /// Deprecated Method for adding a new object to the Dealers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDealers(Dealer dealer) { base.AddObject("Dealers", dealer); }