/// <summary> /// Deprecated Method for adding a new object to the SavedScans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSavedScans(SavedScan savedScan) { base.AddObject("SavedScans", savedScan); }
/// <summary> /// Create a new SavedScan object. /// </summary> /// <param name="savedScanId">Initial value of the SavedScanId property.</param> /// <param name="equipTypeId">Initial value of the EquipTypeId property.</param> /// <param name="saveDateTime">Initial value of the SaveDateTime property.</param> /// <param name="entityId">Initial value of the EntityId property.</param> /// <param name="serialNumber">Initial value of the SerialNumber property.</param> /// <param name="orderLineItemId">Initial value of the OrderLineItemId property.</param> public static SavedScan CreateSavedScan(global::System.Int32 savedScanId, global::System.Int32 equipTypeId, global::System.DateTime saveDateTime, global::System.Int32 entityId, global::System.String serialNumber, global::System.Int32 orderLineItemId) { SavedScan savedScan = new SavedScan(); savedScan.SavedScanId = savedScanId; savedScan.EquipTypeId = equipTypeId; savedScan.SaveDateTime = saveDateTime; savedScan.EntityId = entityId; savedScan.SerialNumber = serialNumber; savedScan.OrderLineItemId = orderLineItemId; return savedScan; }