⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 model.cs

📁 NHibernate NET开发者所需的
💻 CS
字号:
using System;

namespace NHibernate.Test.NHSpecificTest.NH372
{
	public class BaseParent
	{
		private int _Id;

		public virtual int Id
		{
			get { return _Id; }
		}

		private string _Name;

		public virtual string Name
		{
			get { return _Name; }
			set { _Name = value; }
		}

		private Component _Component = new Component();

		public virtual Component Component
		{
			get { return _Component; }
			set { _Component = value; }
		}
	}

	public class Parent : BaseParent
	{
	}

	public class DynamicParent : BaseParent
	{
	}

	public class Component
	{
		private int _NormalField;

		public virtual int NormalField
		{
			get { return _NormalField; }
			set { _NormalField = value; }
		}

		private int _FieldNotInserted;

		public virtual int FieldNotInserted
		{
			get { return _FieldNotInserted; }
			set { _FieldNotInserted = value; }
		}

		private int _FieldNotUpdated;

		public virtual int FieldNotUpdated
		{
			get { return _FieldNotUpdated; }
			set { _FieldNotUpdated = value; }
		}

		private SubComponent _SubComponent = new SubComponent();

		public virtual SubComponent SubComponent
		{
			get { return _SubComponent; }
			set { _SubComponent = value; }
		}
	}

	public class SubComponent
	{
		private int _NormalField;

		public virtual int NormalField
		{
			get { return _NormalField; }
			set { _NormalField = value; }
		}

		private int _FieldNotInserted;

		public virtual int FieldNotInserted
		{
			get { return _FieldNotInserted; }
			set { _FieldNotInserted = value; }
		}

		private int _FieldNotUpdated;

		public virtual int FieldNotUpdated
		{
			get { return _FieldNotUpdated; }
			set { _FieldNotUpdated = value; }
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -