Mercurial > pub > bltoolkit
annotate UnitTests/CS/JointureTests/Artist.cs @ 9:1e85f66cf767 default tip
update bltoolkit
| author | nickolay |
|---|---|
| date | Thu, 05 Apr 2018 20:53:26 +0300 |
| parents | f990fcb411a9 |
| children |
| rev | line source |
|---|---|
| 0 | 1 using BLToolkit.DataAccess; |
| 2 using BLToolkit.Mapping; | |
| 3 | |
| 4 namespace UnitTests.CS.JointureTests | |
| 5 { | |
| 6 [TableName(Name = "ARTIST", Owner = Consts.Owner)] | |
| 7 public class Artist | |
| 8 { | |
| 9 [MapField("ID_ARTIST"), PrimaryKey, NonUpdatable] | |
| 10 public long Id { get; set; } | |
| 11 | |
| 12 [MapField("ARTIST")] | |
| 13 public string Name { get; set; } | |
| 14 } | |
| 15 } |
