Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- MarkupExtensionParser.cs
- Section.cs
- MenuItem.cs
- PageCodeDomTreeGenerator.cs
- ListViewHitTestInfo.cs
- Container.cs
- FileVersionInfo.cs
- ConsumerConnectionPointCollection.cs
- ControlSerializer.cs
- RequestCacheValidator.cs
- ProfileBuildProvider.cs
- AliasedSlot.cs
- BufferedGraphics.cs
- BackoffTimeoutHelper.cs
- ToolStripItemEventArgs.cs
- CodePageUtils.cs
- SerialPort.cs
- MailDefinition.cs
- PolyBezierSegment.cs
- XmlSchemaAttribute.cs
- HotSpotCollection.cs
- SessionState.cs
- RequiredAttributeAttribute.cs
- LinkLabel.cs
- shaper.cs
- AuthStoreRoleProvider.cs
- TextParentUndoUnit.cs
- UserControlParser.cs
- Geometry3D.cs
- FileClassifier.cs
- NameGenerator.cs
- AutoGeneratedField.cs
- XDeferredAxisSource.cs
- LoadRetryStrategyFactory.cs
- Point4DConverter.cs
- CompatibleIComparer.cs
- HtmlSelect.cs
- SqlTriggerContext.cs
- SemanticAnalyzer.cs
- DataGridCell.cs
- DependencyObject.cs
- CopyOnWriteList.cs
- ReceiveSecurityHeaderEntry.cs
- Panel.cs
- ZipIORawDataFileBlock.cs
- ClrPerspective.cs
- WindowsAuthenticationModule.cs
- XmlDocumentSerializer.cs
- WS2007HttpBindingElement.cs
- __ConsoleStream.cs
- FlowDocumentPaginator.cs
- SinglePageViewer.cs
- EntityDesignPluralizationHandler.cs
- Exceptions.cs
- InvalidComObjectException.cs
- CollectionChangeEventArgs.cs
- SoapReflectionImporter.cs
- DataListCommandEventArgs.cs
- DecimalAnimationBase.cs
- mediaclock.cs
- Identity.cs
- CompoundFileDeflateTransform.cs
- Directory.cs
- Font.cs
- WindowsToolbarItemAsMenuItem.cs
- UIAgentInitializationException.cs
- _HTTPDateParse.cs
- panel.cs
- TemplateNameScope.cs
- MtomMessageEncodingBindingElement.cs
- SystemIcmpV6Statistics.cs
- DetailsViewRow.cs
- EmptyEnumerator.cs
- COM2ComponentEditor.cs
- ControlUtil.cs
- OleDbDataAdapter.cs
- DataGridViewCellStyle.cs
- XmlTextEncoder.cs
- DetailsViewDeleteEventArgs.cs
- WebPartVerb.cs
- FigureParaClient.cs
- ScaleTransform.cs
- XmlSchemaSet.cs
- SqlColumnizer.cs
- ImageCodecInfo.cs
- __TransparentProxy.cs
- ArrangedElement.cs
- TypeExtensionConverter.cs
- Pair.cs
- QilStrConcat.cs
- QilList.cs
- SemanticResolver.cs
- StatusCommandUI.cs
- UIElement.cs
- TableLayoutSettings.cs
- DocumentEventArgs.cs
- XmlNamespaceManager.cs
- SqlClientWrapperSmiStreamChars.cs
- WinOEToolBoxItem.cs
- MetadataCache.cs