employee.cs
来自「NHibernate NET开发者所需的」· CS 代码 · 共 34 行
CS
34 行
using System;
using System.Collections.Generic;
using System.Text;
namespace NHibernate.Test.NHSpecificTest.LoadingNullEntityInSet
{
using Iesi.Collections.Generic;
public class Employee
{
private int id;
private ISet<PrimaryProfession> primaries = new HashedSet<PrimaryProfession>();
private ISet<SecondaryProfession> secondaries = new HashedSet<SecondaryProfession>();
public ISet<PrimaryProfession> Primaries
{
get { return primaries; }
set { primaries = value; }
}
public ISet<SecondaryProfession> Secondaries
{
get { return secondaries; }
set { secondaries = value; }
}
public int Id
{
get { return id; }
set { id = value; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?