/// <summary> /// Create a new DealerMaster object. /// </summary> /// <param name="dealerID">Initial value of the DealerID property.</param> /// <param name="dealerName">Initial value of the DealerName property.</param> public static DealerMaster CreateDealerMaster(global::System.Int32 dealerID, global::System.String dealerName) { DealerMaster dealerMaster = new DealerMaster(); dealerMaster.DealerID = dealerID; dealerMaster.DealerName = dealerName; return dealerMaster; }
/// <summary> /// Deprecated Method for adding a new object to the DealerMasters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDealerMasters(DealerMaster dealerMaster) { base.AddObject("DealerMasters", dealerMaster); }