File tree Expand file tree Collapse file tree
Orm/Xtensive.Orm.Tests/Storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright (C) 2019-2020 Xtensive LLC.
1+ // Copyright (C) 2019-2020 Xtensive LLC.
22// This code is distributed under MIT license terms.
33// See the License.txt file in the project root for more information.
44// Created by: Alexey Kulakov
1111using NUnit . Framework ;
1212using Xtensive . Core ;
1313using Xtensive . Orm . Configuration ;
14- using Xtensive . Orm . Tests . Storage . ConcurrentCommandProcessorExecutionModel ;
15- using Xtensive . Orm . Tests . Storage . Prefetch ;
14+ using Xtensive . Orm . Tests . Storage . ExecuteAsyncExtensionTestModel ;
15+
16+ namespace Xtensive . Orm . Tests . Storage . ExecuteAsyncExtensionTestModel
17+ {
18+ [ HierarchyRoot ]
19+ public class TestEntity : Entity
20+ {
21+ [ Field , Key ]
22+ public int Id { get ; private set ; }
23+
24+ [ Field ]
25+ public string Name { get ; set ; }
26+
27+ [ Field ]
28+ public DateTime CreationDate { get ; set ; }
29+
30+ [ Field ]
31+ public long Value { get ; set ; }
32+
33+ public TestEntity ( Session session )
34+ : base ( session )
35+ {
36+ }
37+ }
38+
39+ [ HierarchyRoot ]
40+ public class EntitySetContainer : Entity
41+ {
42+ [ Field , Key ]
43+ public int Id { get ; private set ; }
44+
45+ [ Field ]
46+ public EntitySet < TestEntity > EntitySet { get ; set ; }
47+
48+ public EntitySetContainer ( Session session )
49+ : base ( session )
50+ {
51+ }
52+ }
53+ }
54+
1655
1756namespace Xtensive . Orm . Tests . Storage
1857{
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments