📄 domain.cs
字号:
using System;
using System.Collections;
namespace NHibernate.Test.NHSpecificTest.NH643
{
[Serializable]
public class Parent
{
private int _id;
private IList _children = new ArrayList();
public virtual int ID
{
get { return this._id; }
set { this._id = value; }
}
public virtual IList Children
{
get { return this._children; }
set { this._children = value; }
}
public virtual void AddChild(Child child)
{
child.Parent = this;
this.Children.Add(child);
}
}
[Serializable]
public class Child
{
private int _id;
private Parent _parent;
public virtual int ID
{
get { return this._id; }
set { this._id = value; }
}
public virtual Parent Parent
{
get { return this._parent; }
set { this._parent = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -