forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathModels.cs
37 lines (33 loc) · 781 Bytes
/
Models.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
namespace NHibernate.Test.NHSpecificTest.GH3289
{
public interface IEntity
{
int Id { get; set; }
string Name { get; set; }
Component Component { get; set; }
}
public interface ISubEntity : IEntity
{
public bool SomeProperty { get; set; }
}
public class Entity : IEntity
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual Component Component { get; set; }
}
public class OtherEntity : IEntity
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual Component Component { get; set; }
}
public class SubEntity : Entity, ISubEntity
{
public virtual bool SomeProperty { get; set; }
}
public class Component
{
public virtual string Field { get; set; }
}
}