/// <summary> /// Deprecated Method for adding a new object to the PrintLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrintLogs(PrintLog printLog) { base.AddObject("PrintLogs", printLog); }
/// <summary> /// Create a new PrintLog object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="value">Initial value of the Value property.</param> /// <param name="isPrinted">Initial value of the IsPrinted property.</param> /// <param name="printedBy">Initial value of the PrintedBy property.</param> /// <param name="reference">Initial value of the Reference property.</param> public static PrintLog CreatePrintLog(global::System.Int32 id, global::System.Byte[] value, global::System.Boolean isPrinted, global::System.Int32 printedBy, global::System.Int32 reference) { PrintLog printLog = new PrintLog(); printLog.ID = id; printLog.Value = value; printLog.IsPrinted = isPrinted; printLog.PrintedBy = printedBy; printLog.Reference = reference; return printLog; }