public MovingSession(StoredBox storedBox, Shelf shelf, string userID) { StartShelfPK = storedBox.ShelfPK; DestinationShelfPK = shelf.ShelfPK; ExecutedDate = DateTime.Now; StoredBoxPK = storedBox.StoredBoxPK; UserID = userID; }
public Entry(StoredBox storedBox, string kindRoleName, int sessionPK, bool isRestored, double quantity, int itemPK, Accessory accessory) { StoredBoxPK = storedBox.StoredBoxPK; KindRoleName = kindRoleName; SessionPK = sessionPK; IsRestored = isRestored; Quantity = quantity; ItemPK = itemPK; AccessoryPK = accessory.AccessoryPK; }