maplazyinitializer.cs

来自「NHibernate NET开发者所需的」· CS 代码 · 共 28 行

CS
28
字号
using System;
using System.Collections;
using NHibernate.Engine;

namespace NHibernate.Proxy.Map
{
	/// <summary> Lazy initializer for "dynamic-map" entity representations. </summary>
	[Serializable]
	public class MapLazyInitializer : AbstractLazyInitializer
	{
		public MapLazyInitializer(string entityName, object id, ISessionImplementor session) 
			: base(entityName, id, session) {}

		public IDictionary Map
		{
			get { return (IDictionary) GetImplementation(); }
		}

		public override System.Type PersistentClass
		{
			get
			{
				throw new NotSupportedException("dynamic-map entity representation");
			}
		}
	}
}

⌨️ 快捷键说明

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