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
- RetrieveVirtualItemEventArgs.cs
- XmlWrappingReader.cs
- CompilerCollection.cs
- GB18030Encoding.cs
- FrameworkName.cs
- PeerObject.cs
- CodeAttributeDeclarationCollection.cs
- FormClosingEvent.cs
- Timer.cs
- DataBindingExpressionBuilder.cs
- TrackingDataItemValue.cs
- FacetValues.cs
- GregorianCalendarHelper.cs
- ContainerControl.cs
- DataGridCommandEventArgs.cs
- Html32TextWriter.cs
- DataGridViewCheckBoxCell.cs
- MDIClient.cs
- SafeHandles.cs
- XPathDescendantIterator.cs
- ComponentSerializationService.cs
- UpdateCommand.cs
- XsdDateTime.cs
- BamlWriter.cs
- SessionMode.cs
- Help.cs
- HttpEncoderUtility.cs
- Config.cs
- AnimatedTypeHelpers.cs
- WebPartsPersonalizationAuthorization.cs
- WebControlToolBoxItem.cs
- MenuEventArgs.cs
- NonPrimarySelectionGlyph.cs
- HtmlInputPassword.cs
- TdsParserStaticMethods.cs
- RowToParametersTransformer.cs
- XD.cs
- HtmlElementCollection.cs
- CodeTypeReference.cs
- MailAddressCollection.cs
- X500Name.cs
- HttpFileCollection.cs
- TableHeaderCell.cs
- ConstantSlot.cs
- ImageBrush.cs
- SelectionListDesigner.cs
- ViewRendering.cs
- InnerItemCollectionView.cs
- HandleCollector.cs
- ErrorView.xaml.cs
- GradientStop.cs
- ProxyWebPartConnectionCollection.cs
- DataRowComparer.cs
- XamlTypeMapper.cs
- NetStream.cs
- DummyDataSource.cs
- DictionaryTraceRecord.cs
- OutputCacheSection.cs
- TextSelectionProcessor.cs
- assertwrapper.cs
- ImageBrush.cs
- ButtonChrome.cs
- SafeTimerHandle.cs
- RNGCryptoServiceProvider.cs
- RC2.cs
- HttpCapabilitiesBase.cs
- ObjectItemCachedAssemblyLoader.cs
- HttpPostProtocolImporter.cs
- DefaultBinder.cs
- CustomError.cs
- DnsEndPoint.cs
- FactoryGenerator.cs
- DescendantBaseQuery.cs
- WebCategoryAttribute.cs
- WeakReadOnlyCollection.cs
- XmlSchemaType.cs
- Quad.cs
- TreeNode.cs
- SimpleHandlerFactory.cs
- WebBaseEventKeyComparer.cs
- WebConfigurationHost.cs
- ValidatorCollection.cs
- DigitShape.cs
- TableLayoutStyle.cs
- InputLanguageProfileNotifySink.cs
- CompositeCollectionView.cs
- AppSettings.cs
- ApplicationBuildProvider.cs
- Page.cs
- WrappedIUnknown.cs
- XmlEncoding.cs
- StateDesigner.cs
- FontCollection.cs
- StyleCollection.cs
- MediaPlayerState.cs
- Math.cs
- MethodToken.cs
- Token.cs
- AssemblyNameUtility.cs
- AssemblyResourceLoader.cs