device.cs
来自「NHibernate NET开发者所需的」· CS 代码 · 共 42 行
CS
42 行
using System;
using System.Collections;
namespace NHibernate.Test.NHSpecificTest.NH750
{
public class Device
{
public Device() : base()
{
}
public Device(string manifacturer)
: this()
{
_manifacturer = manifacturer;
}
private int _id;
public int Id
{
get { return _id; }
set { _id = value; }
}
private string _manifacturer;
public string Manifacturer
{
get { return _manifacturer; }
set { _manifacturer = value; }
}
private IList _drives = new ArrayList();
public IList Drives
{
get { return _drives; }
set { _drives = value; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?