/// <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; }