|
Wersja 982, 0.6 KB
(wprowadzona przez marek, 16 years temu)
|
|
re #215 - poprawki w testach + testy na status
|
| Line | |
|---|
| 1 | using System;
|
|---|
| 2 | using adMoto.Payments.Core.Interfaces;
|
|---|
| 3 |
|
|---|
| 4 | namespace adMoto.Payments.Core.Data
|
|---|
| 5 | {
|
|---|
| 6 | public partial class PotwierdzeniaEcard : IIdentifiable
|
|---|
| 7 | {
|
|---|
| 8 | public int Id
|
|---|
| 9 | {
|
|---|
| 10 | get { return id; }
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
| 13 | // ReSharper disable InconsistentNaming
|
|---|
| 14 | partial void OnVALIDATIONCODEChanging(string value)
|
|---|
| 15 | // ReSharper restore InconsistentNaming
|
|---|
| 16 | {
|
|---|
| 17 | if (string.IsNullOrEmpty(value)) return;
|
|---|
| 18 |
|
|---|
| 19 | if (value.Length > 3) throw new ArgumentException("VALIDATIONCODE must be max 3 characters long");
|
|---|
| 20 | }
|
|---|
| 21 | }
|
|---|
| 22 | } |
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.