/// <summary> /// Deprecated Method for adding a new object to the Distributors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDistributors(Distributor distributor) { base.AddObject("Distributors", distributor); }
/// <summary> /// Create a new Distributor object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="phone1">Initial value of the Phone1 property.</param> public static Distributor CreateDistributor(global::System.Int64 id, global::System.String name, global::System.String phone1) { Distributor distributor = new Distributor(); distributor.ID = id; distributor.Name = name; distributor.Phone1 = phone1; return distributor; }