node.cs
来自「NHibernate NET开发者所需的」· CS 代码 · 共 45 行
CS
45 行
using System;
using System.Collections;
namespace NHibernate.Test.NHSpecificTest.NH309
{
/// <summary>
/// Summary description for Node.
/// </summary>
public class Node
{
private int _id;
private string _name;
private Node _parentNode;
private IList _childNodes;
public virtual int Id
{
get { return this._id; }
set { this._id = value; }
}
public virtual string Name
{
get { return this._name; }
set { this._name = value; }
}
public virtual Node ParentNode
{
get { return this._parentNode; }
set { this._parentNode = value; }
}
public virtual IList ChildNodes
{
get { return this._childNodes; }
set { this._childNodes = value; }
}
public Node()
{
this._id = -1;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?