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