예제 #1
0
 /// <summary>
 /// Create a new Dealer object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Dealer CreateDealer(global::System.Guid id, global::System.String name)
 {
     Dealer dealer = new Dealer();
     dealer.Id = id;
     dealer.Name = name;
     return dealer;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Dealers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDealers(Dealer dealer)
 {
     base.AddObject("Dealers", dealer);
 }