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