annotate UnitTests/CS/TestObject.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author |
cin |
date |
Fri, 28 Mar 2014 01:04:56 +0400 |
parents |
f990fcb411a9 |
children |
|
rev |
line source |
0
|
1 using System;
|
|
2
|
|
3 using BLToolkit.Mapping;
|
|
4
|
|
5 public abstract class TestObject
|
|
6 {
|
|
7 public abstract int ID { get; set; }
|
|
8 public abstract string Name { get; set; }
|
|
9 [Nullable]
|
|
10 public abstract DateTime Date { get; set; }
|
|
11
|
|
12 public static ObjectMapper ObjectMapper
|
|
13 {
|
|
14 get { return Map.GetObjectMapper(typeof(TestObject)); }
|
|
15 }
|
|
16 }
|