annotate UnitTests/CS/JointureTests/Artist.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author |
cin |
date |
Fri, 28 Mar 2014 01:04:56 +0400 |
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 } |