/// <summary> /// Deprecated Method for adding a new object to the Scanners EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> internal void AddToScanners(Scanner scanner) { base.AddObject("Scanners", scanner); }
/// <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; }