Datei: StressTests/StressTestClasses/Customer.cs
Last Commit (9de6a8c)
| 1 | -- File didn't exist -- |
New Commit (bbf1d57)
| 1 | using System; |
| 2 | using NDO; |
| 3 | |
| 4 | namespace StressTestClasses |
| 5 | { |
| 6 | ····/// <summary> |
| 7 | ····/// A customer. Each worker of the stress test creates its own customers. |
| 8 | ····/// </summary> |
| 9 | ····[NDOPersistent] |
| 10 | ····public class Customer |
| 11 | ····{ |
| 12 | ········string name; |
| 13 | ········string city; |
| 14 | ········DateTime created; |
| 15 | ········int updateCount; |
| 16 | |
| 17 | ········public Customer() |
| 18 | ········{ |
| 19 | ········} |
| 20 | |
| 21 | ········public string Name |
| 22 | ········{ |
| 23 | ············get { return name; } |
| 24 | ············set { name = value; } |
| 25 | ········} |
| 26 | |
| 27 | ········public string City |
| 28 | ········{ |
| 29 | ············get { return city; } |
| 30 | ············set { city = value; } |
| 31 | ········} |
| 32 | |
| 33 | ········public DateTime Created |
| 34 | ········{ |
| 35 | ············get { return created; } |
| 36 | ············set { created = value; } |
| 37 | ········} |
| 38 | |
| 39 | ········public int UpdateCount |
| 40 | ········{ |
| 41 | ············get { return updateCount; } |
| 42 | ············set { updateCount = value; } |
| 43 | ········} |
| 44 | ····} |
| 45 | } |
| 46 |