Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / CreateRefExpr.cs / 1305376 / CreateRefExpr.cs
//----------------------------------------------------------------------
//
// Copyproperty (c) Microsoft Corporation. All propertys reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
namespace System.Data.Common.EntitySql.AST
{
using System;
using System.Globalization;
using System.Collections;
using System.Collections.Generic;
///
/// Represents CREATEREF(entitySet, keys) expression.
///
internal sealed class CreateRefExpr : Node
{
private readonly Node _entitySet;
private readonly Node _keys;
private readonly Node _typeIdentifier;
///
/// Initializes CreateRefExpr.
///
/// expression representing the entity set
internal CreateRefExpr(Node entitySet, Node keys) : this(entitySet, keys, null)
{ }
///
/// Initializes CreateRefExpr.
///
internal CreateRefExpr(Node entitySet, Node keys, Node typeIdentifier)
{
_entitySet = entitySet;
_keys = keys;
_typeIdentifier = typeIdentifier;
}
///
/// Returns the expression for the entity set.
///
internal Node EntitySet
{
get { return _entitySet; }
}
///
/// Returns the expression for the keys.
///
internal Node Keys
{
get { return _keys; }
}
///
/// Gets optional typeidentifier. May be null.
///
internal Node TypeIdentifier
{
get { return _typeIdentifier; }
}
}
///
/// Represents KEY(expr) expression.
///
internal class KeyExpr : Node
{
private readonly Node _argExpr;
///
/// Initializes KEY expression.
///
internal KeyExpr(Node argExpr)
{
_argExpr = argExpr;
}
///
/// Returns KEY argument expression.
///
internal Node ArgExpr
{
get { return _argExpr; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AvtEvent.cs
- FixedSchema.cs
- StdValidatorsAndConverters.cs
- BulletDecorator.cs
- ConnectionPoint.cs
- AjaxFrameworkAssemblyAttribute.cs
- CompilerCollection.cs
- ELinqQueryState.cs
- BlurEffect.cs
- RandomNumberGenerator.cs
- ChangePasswordDesigner.cs
- MethodBuilderInstantiation.cs
- Matrix3DValueSerializer.cs
- SafeFileMappingHandle.cs
- ConfigurationSettings.cs
- PointIndependentAnimationStorage.cs
- SafeNativeMethodsMilCoreApi.cs
- FixUpCollection.cs
- SingleConverter.cs
- ExpandedWrapper.cs
- filewebresponse.cs
- RuntimeEnvironment.cs
- NonBatchDirectoryCompiler.cs
- ComAdminWrapper.cs
- SafeFindHandle.cs
- FixedSOMElement.cs
- XmlIlVisitor.cs
- TagNameToTypeMapper.cs
- TimeoutHelper.cs
- PermissionToken.cs
- AssociatedControlConverter.cs
- LockRenewalTask.cs
- DataKeyCollection.cs
- FixedSOMTableCell.cs
- MSAAEventDispatcher.cs
- XPathScanner.cs
- SoapIncludeAttribute.cs
- ViewCellRelation.cs
- SmtpReplyReaderFactory.cs
- SmtpNetworkElement.cs
- VisualTreeUtils.cs
- EmptyCollection.cs
- MemoryFailPoint.cs
- HostProtectionPermission.cs
- NumericExpr.cs
- DrawingImage.cs
- CqlLexerHelpers.cs
- XmlSchemaRedefine.cs
- EventWaitHandleSecurity.cs
- PointAnimationBase.cs
- QueryOpeningEnumerator.cs
- ConfigurationLocation.cs
- SoapTransportImporter.cs
- VisualBrush.cs
- TcpTransportSecurityElement.cs
- RepeatButtonAutomationPeer.cs
- SqlCachedBuffer.cs
- HttpCacheParams.cs
- Parser.cs
- ReadOnlyPropertyMetadata.cs
- MailSettingsSection.cs
- AspCompat.cs
- BitmapFrame.cs
- AutomationPropertyInfo.cs
- CategoryNameCollection.cs
- ReceiveContextCollection.cs
- autovalidator.cs
- QuinticEase.cs
- ColorInterpolationModeValidation.cs
- ApplicationBuildProvider.cs
- XmlSerializer.cs
- TranslateTransform3D.cs
- InputBinding.cs
- RoutedEventArgs.cs
- RemotingHelper.cs
- WindowCollection.cs
- UserControlAutomationPeer.cs
- TCPListener.cs
- LocalizationParserHooks.cs
- InvalidComObjectException.cs
- SpellCheck.cs
- _BasicClient.cs
- IsolatedStorage.cs
- PropertyEntry.cs
- DefaultProxySection.cs
- PersonalizationStateInfo.cs
- CellLabel.cs
- ValidationHelper.cs
- Win32KeyboardDevice.cs
- HwndSourceParameters.cs
- MultipartContentParser.cs
- EndEvent.cs
- XmlRootAttribute.cs
- httpapplicationstate.cs
- PropertyDescriptorCollection.cs
- SqlClientFactory.cs
- Native.cs
- OleDbConnectionInternal.cs
- DataControlFieldCell.cs
- PropertyCondition.cs