Exemple #1
0
 /// <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;
 }
Exemple #2
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);
 }
Exemple #3
0
 /// <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;
 }