/// <summary> /// Deprecated Method for adding a new object to the Printers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrinters(Printer printer) { base.AddObject("Printers", printer); }
/// <summary> /// Create a new Printer object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="storename">Initial value of the storename property.</param> /// <param name="printerName">Initial value of the printerName property.</param> public static Printer CreatePrinter(global::System.Int32 id, global::System.String storename, global::System.String printerName) { Printer printer = new Printer(); printer.id = id; printer.storename = storename; printer.printerName = printerName; return printer; }