예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Scanners EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 internal void AddToScanners(Scanner scanner)
 {
     base.AddObject("Scanners", scanner);
 }
예제 #2
0
 /// <summary>
 /// Create a new Scanner object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="brand">Initial value of the Brand property.</param>
 /// <param name="model">Initial value of the Model property.</param>
 public static Scanner CreateScanner(global::System.Guid id, global::System.String brand, global::System.String model)
 {
     Scanner scanner = new Scanner();
     scanner.Id = id;
     scanner.Brand = brand;
     scanner.Model = model;
     return scanner;
 }