annotate Demo/WebServices/ObjectModel/Person.cs @ 8:a34cfdde80d6

removed strong signing added FrameworkPathOverride for linux builds
author cin
date Wed, 29 Nov 2017 12:43:52 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 using System;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 using System.Xml.Serialization;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 using BLToolkit.DataAccess;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 using BLToolkit.EditableObjects;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 using BLToolkit.Mapping;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 using BLToolkit.Validation;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 namespace Demo.WebServices.ObjectModel
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 [XmlType(AnonymousType = true)]
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 public abstract class Person: EditableObject<Person>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 [PrimaryKey, MapField("PersonID")] public abstract int Id { get; set; }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 [MaxLength(50), Required] public abstract string LastName { get; set; }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 [MaxLength(50), Required] public abstract string FirstName { get; set; }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 [MaxLength(50)] public abstract string MiddleName { get; set; }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 public abstract Gender Gender { get; set; }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 }