Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / CreateRefExpr.cs / 1 / CreateRefExpr.cs
//---------------------------------------------------------------------- //// Copyproperty (c) Microsoft Corporation. All propertys reserved. // // // @owner [....] // @backup [....] //--------------------------------------------------------------------- namespace System.Data.Common.EntitySql { using System; using System.Globalization; using System.Collections; using System.Collections.Generic; ////// Represents CREATEREF expression /// createref( entitySet, keys ) /// internal sealed class CreateRefExpr : Expr { private Expr _entitySet; private Expr _keys; private Expr _typeIdentifier; ////// Initializes CreateRefExpr /// /// expression representing the entity set /// internal CreateRefExpr( Expr entitySet, Expr keys ) { _entitySet = entitySet; _keys = keys; } ////// Initializes CreateRefExpr /// /// /// /// internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier ) { _entitySet = entitySet; _keys = keys; _typeIdentifier = typeIdentifier; } ////// return the expression for the entity set /// internal Expr EntitySet { get { return _entitySet; } } ////// returns the expression for the keys /// internal Expr Keys { get { return _keys; } } ////// gets typeidentifier if exists /// internal Expr TypeIdentifier { get { return _typeIdentifier; } } } ////// Represents KEY expression /// key( expr ) /// internal class KeyExpr : Expr { private Expr _refExpr; ////// initializes KEY expression /// /// internal KeyExpr( Expr refExpr ) { _refExpr = refExpr; } ////// returns ref inner expression /// internal Expr RefExpr { get { return _refExpr; } } } } // 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 [....] // @backup [....] //--------------------------------------------------------------------- namespace System.Data.Common.EntitySql { using System; using System.Globalization; using System.Collections; using System.Collections.Generic; ////// Represents CREATEREF expression /// createref( entitySet, keys ) /// internal sealed class CreateRefExpr : Expr { private Expr _entitySet; private Expr _keys; private Expr _typeIdentifier; ////// Initializes CreateRefExpr /// /// expression representing the entity set /// internal CreateRefExpr( Expr entitySet, Expr keys ) { _entitySet = entitySet; _keys = keys; } ////// Initializes CreateRefExpr /// /// /// /// internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier ) { _entitySet = entitySet; _keys = keys; _typeIdentifier = typeIdentifier; } ////// return the expression for the entity set /// internal Expr EntitySet { get { return _entitySet; } } ////// returns the expression for the keys /// internal Expr Keys { get { return _keys; } } ////// gets typeidentifier if exists /// internal Expr TypeIdentifier { get { return _typeIdentifier; } } } ////// Represents KEY expression /// key( expr ) /// internal class KeyExpr : Expr { private Expr _refExpr; ////// initializes KEY expression /// /// internal KeyExpr( Expr refExpr ) { _refExpr = refExpr; } ////// returns ref inner expression /// internal Expr RefExpr { get { return _refExpr; } } } } // 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
- ValidationErrorEventArgs.cs
- GridViewDeleteEventArgs.cs
- TraceLog.cs
- PropertyTabAttribute.cs
- BasicHttpSecurity.cs
- MoveSizeWinEventHandler.cs
- FileUtil.cs
- XmlAnyElementAttributes.cs
- CodeTypeReferenceCollection.cs
- TreeViewDesigner.cs
- DropSource.cs
- ErrorInfoXmlDocument.cs
- EntityContainerAssociationSet.cs
- EnvelopeVersion.cs
- CodeTypeDeclarationCollection.cs
- FilterException.cs
- SiteMapDataSourceView.cs
- GeneralTransform3DCollection.cs
- MetadataItemCollectionFactory.cs
- RuntimeComponentFilter.cs
- XmlObjectSerializer.cs
- CultureTable.cs
- ScrollBarAutomationPeer.cs
- DurableMessageDispatchInspector.cs
- Win32KeyboardDevice.cs
- TypeHelpers.cs
- ProvidePropertyAttribute.cs
- ExternalCalls.cs
- CapabilitiesSection.cs
- ProfileModule.cs
- FixedElement.cs
- SqlDataSourceSelectingEventArgs.cs
- EarlyBoundInfo.cs
- MappingItemCollection.cs
- ResolveNameEventArgs.cs
- PagesChangedEventArgs.cs
- CultureSpecificCharacterBufferRange.cs
- ParserContext.cs
- SeparatorAutomationPeer.cs
- BindingSource.cs
- FlowDocumentPage.cs
- DbTransaction.cs
- SessionViewState.cs
- PrintPreviewGraphics.cs
- Location.cs
- RelationHandler.cs
- UriTemplateLiteralPathSegment.cs
- SpnegoTokenProvider.cs
- Screen.cs
- ChannelTracker.cs
- AsymmetricCryptoHandle.cs
- ParsedRoute.cs
- ImageBrush.cs
- MemberAccessException.cs
- DocumentScope.cs
- TraceListeners.cs
- EventLogReader.cs
- QilIterator.cs
- WorkflowLayouts.cs
- ZoomComboBox.cs
- BitStack.cs
- DataKey.cs
- SqlDataSourceView.cs
- DataSourceHelper.cs
- ProcessDesigner.cs
- SqlTypeSystemProvider.cs
- CodeDOMUtility.cs
- ResourceExpressionEditor.cs
- ArraySubsetEnumerator.cs
- TimeIntervalCollection.cs
- PerformanceCounterPermissionAttribute.cs
- Odbc32.cs
- InvalidWMPVersionException.cs
- MulticastNotSupportedException.cs
- Command.cs
- isolationinterop.cs
- TemplateKeyConverter.cs
- AnnotationMap.cs
- SqlDataSourceCommandEventArgs.cs
- DefaultMemberAttribute.cs
- errorpatternmatcher.cs
- HtmlTableCell.cs
- OfTypeExpression.cs
- DrawTreeNodeEventArgs.cs
- IndentTextWriter.cs
- SafeReadContext.cs
- TextDecoration.cs
- CodeComment.cs
- ModuleElement.cs
- CipherData.cs
- LookupNode.cs
- PropertyMappingExceptionEventArgs.cs
- HttpServerVarsCollection.cs
- WindowsRichEdit.cs
- PageEventArgs.cs
- BitmapFrameDecode.cs
- SqlClientWrapperSmiStream.cs
- AutomationPatternInfo.cs
- DashStyle.cs
- CornerRadius.cs