ordinalparameterdescriptor.cs

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

CS
36
字号
using System;
using NHibernate.Type;

namespace NHibernate.Engine.Query
{
	[Serializable]
	public class OrdinalParameterDescriptor
	{
		private readonly int ordinalPosition;
		private readonly IType expectedType;
		private readonly int sourceLocation;

		public OrdinalParameterDescriptor(int ordinalPosition, IType expectedType, int sourceLocation)
		{
			this.ordinalPosition = ordinalPosition;
			this.expectedType = expectedType;
			this.sourceLocation = sourceLocation;
		}

		public int OrdinalPosition
		{
			get { return ordinalPosition; }
		}

		public IType ExpectedType
		{
			get { return expectedType; }
		}

		public int SourceLocation
		{
			get { return sourceLocation; }
		}
	}
}

⌨️ 快捷键说明

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