Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / TypeDefinition.cs / 1305376 / TypeDefinition.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Common.EntitySql.AST { using System; using System.Globalization; using System.Collections; using System.Collections.Generic; ////// Represents an ast node for a collection type definition. /// internal sealed class CollectionTypeDefinition : Node { private readonly Node _elementTypeDef; ////// Initializes collection type definition using the element type definition. /// internal CollectionTypeDefinition(Node elementTypeDef) { this._elementTypeDef = elementTypeDef; } ////// Returns collection element type defintion. /// internal Node ElementTypeDef { get { return this._elementTypeDef; } } } ////// Represents an ast node for a reference type definition. /// internal sealed class RefTypeDefinition : Node { private readonly Node _refTypeIdentifier; ////// Initializes reference type definition using the referenced type identifier. /// internal RefTypeDefinition(Node refTypeIdentifier) { this._refTypeIdentifier = refTypeIdentifier; } ////// Returns referenced type identifier. /// internal Node RefTypeIdentifier { get { return this._refTypeIdentifier; } } } ////// Represents an ast node for a row type definition. /// internal sealed class RowTypeDefinition : Node { private readonly NodeList_propDefList; /// /// Initializes row type definition using the property definitions. /// internal RowTypeDefinition(NodeListpropDefList) { this._propDefList = propDefList; } /// /// Returns property definitions. /// internal NodeListProperties { get { return this._propDefList; } } } /// /// Represents an ast node for a property definition (name/type) /// internal sealed class PropDefinition : Node { private readonly Identifier _name; private readonly Node _typeDefExpr; ////// Initializes property definition using the name and the type definition. /// /// internal PropDefinition(Identifier name, Node typeDefExpr) { this._name = name; this._typeDefExpr = typeDefExpr; } ////// Returns property name. /// internal Identifier Name { get { return this._name; } } ////// Returns property type. /// internal Node Type { get { return this._typeDefExpr; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StyleHelper.cs
- PermissionListSet.cs
- ToolStripItemTextRenderEventArgs.cs
- DataGridViewAccessibleObject.cs
- Queue.cs
- GridViewUpdatedEventArgs.cs
- linebase.cs
- BufferedGraphicsContext.cs
- MessageDirection.cs
- ArgIterator.cs
- ObjectDataSourceView.cs
- DispatcherOperation.cs
- DeferredSelectedIndexReference.cs
- SynchronizingStream.cs
- FormViewInsertedEventArgs.cs
- StrongNameHelpers.cs
- DrawingVisualDrawingContext.cs
- ScaleTransform.cs
- DefaultTextStore.cs
- Compiler.cs
- DataServiceRequestOfT.cs
- DifferencingCollection.cs
- LinkDescriptor.cs
- EntityProviderFactory.cs
- CodeAttributeArgument.cs
- ADMembershipProvider.cs
- Oid.cs
- Link.cs
- Pkcs7Recipient.cs
- StickyNoteContentControl.cs
- ReachSerializationCacheItems.cs
- SplineKeyFrames.cs
- SecurityResources.cs
- DesignerVerb.cs
- ScriptControlDescriptor.cs
- input.cs
- RtfToXamlLexer.cs
- TextCharacters.cs
- SpellerInterop.cs
- BufferModesCollection.cs
- DoubleKeyFrameCollection.cs
- XmlILOptimizerVisitor.cs
- XpsFontSerializationService.cs
- EdmTypeAttribute.cs
- Error.cs
- PointConverter.cs
- DataGridLinkButton.cs
- ScriptManagerProxy.cs
- SqlConnectionString.cs
- DataGridTableCollection.cs
- DispatchChannelSink.cs
- DataContractSerializerSection.cs
- HttpPostServerProtocol.cs
- BaseValidatorDesigner.cs
- RegexCompiler.cs
- CharKeyFrameCollection.cs
- SqlReorderer.cs
- SkipStoryboardToFill.cs
- CompositeTypefaceMetrics.cs
- OdbcConnectionStringbuilder.cs
- SiteMapNodeItem.cs
- GrammarBuilderWildcard.cs
- AddInActivator.cs
- DesignerListAdapter.cs
- TableLayoutSettingsTypeConverter.cs
- DockProviderWrapper.cs
- DbTransaction.cs
- HandlerWithFactory.cs
- QueryCacheManager.cs
- GlobalEventManager.cs
- FlowDocumentPage.cs
- ObjectDataSourceMethodEventArgs.cs
- XhtmlBasicValidatorAdapter.cs
- WindowsSysHeader.cs
- UriSection.cs
- CustomError.cs
- ObjectToIdCache.cs
- AnnotationResource.cs
- arabicshape.cs
- selecteditemcollection.cs
- ComponentDispatcherThread.cs
- PreviewKeyDownEventArgs.cs
- WindowsAuthenticationEventArgs.cs
- ToolStripPanelRow.cs
- Label.cs
- EditorPartChrome.cs
- ConsoleCancelEventArgs.cs
- DesignerToolStripControlHost.cs
- StringFunctions.cs
- ValidationRuleCollection.cs
- Decoder.cs
- StringArrayConverter.cs
- FullTextState.cs
- DesignerForm.cs
- PenThreadWorker.cs
- ToolStripContainer.cs
- SqlFactory.cs
- StringToken.cs
- BitmapDecoder.cs
- RuntimeHandles.cs