/// <summary> /// Deprecated Method for adding a new object to the Publishers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPublishers(Publisher publisher) { base.AddObject("Publishers", publisher); }
/// <summary> /// Create a new Publisher object. /// </summary> /// <param name="publisherID">Initial value of the PublisherID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="contactID">Initial value of the ContactID property.</param> public static Publisher CreatePublisher(global::System.Int32 publisherID, global::System.String name, global::System.Int32 contactID) { Publisher publisher = new Publisher(); publisher.PublisherID = publisherID; publisher.Name = name; publisher.ContactID = contactID; return publisher; }