/// <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="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> public static Publisher CreatePublisher(global::System.Int32 id, global::System.String name) { Publisher publisher = new Publisher(); publisher.id = id; publisher.name = name; return publisher; }