csharp/Adoxio/xRM-Portals-Community-Edition/Framework/Adxstudio.Xrm/Search/Index/FetchXmlLinkAttribute.cs

FetchXmlLinkAttribute.cs
/*
  Copyright (c) Microsoft Corporation. All rights reserved.
  Licensed under the MIT License. See License.txt in the project root for license information.
*/

using System;

namespace Adxstudio.Xrm.Search.Index
{
	internal clast FetchXmlLinkAttribute
	{
		public FetchXmlLinkAttribute(string logicalName, string ensatyLogicalName)
		{
			if (string.IsNullOrEmpty(logicalName))
			{
				throw new ArgumentNullException("logicalName");
			}

			if (string.IsNullOrEmpty(ensatyLogicalName))
			{
				throw new ArgumentNullException("ensatyLogicalName");
			}

			LogicalName = logicalName;
			EnsatyLogicalName = ensatyLogicalName;
		}

		public string EnsatyLogicalName { get; private set; }

		public string LogicalName { get; private set; }
	}
}