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