model.cs
来自「NHibernate NET开发者所需的」· CS 代码 · 共 45 行
CS
45 行
using System;
using System.Collections.Generic;
using System.Text;
namespace NHibernate.Test.NHSpecificTest.NH901
{
public class Person
{
protected Person() { }
public Person(string name) { this._Name = name; }
private string _Name;
public virtual string Name
{
get { return _Name; }
set { _Name = value; }
}
private Address _Address;
public virtual Address Address
{
get { return _Address; }
set { _Address = value; }
}
}
public struct Address
{
private string _Street;
public string Street
{
get { return _Street; }
set { _Street = value; }
}
private string _City;
public string City
{
get { return _City; }
set { _City = value; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?