コード例 #1
0
 /// <summary>
 /// Create a new Printer object.
 /// </summary>
 /// <param name="code">Initial value of the Code property.</param>
 public static Printer CreatePrinter(global::System.Int32 code)
 {
     Printer printer = new Printer();
     printer.Code = code;
     return printer;
 }
コード例 #2
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);
 }