Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- ThreadStateException.cs
- xml.cs
- ItemCheckedEvent.cs
- DataPagerFieldCommandEventArgs.cs
- TraceHwndHost.cs
- DataGridViewHitTestInfo.cs
- ADMembershipProvider.cs
- CodeRegionDirective.cs
- ClrProviderManifest.cs
- GridViewSortEventArgs.cs
- AutoResetEvent.cs
- TargetConverter.cs
- COM2PropertyBuilderUITypeEditor.cs
- DataGridColumn.cs
- LayoutUtils.cs
- IgnoreFlushAndCloseStream.cs
- SkinBuilder.cs
- SQLDouble.cs
- KeyTime.cs
- _AutoWebProxyScriptWrapper.cs
- GuidTagList.cs
- TimeSpanFormat.cs
- SiteMapDataSourceDesigner.cs
- NativeMethodsCLR.cs
- CallbackValidator.cs
- DataPointer.cs
- Timer.cs
- DataSourceCache.cs
- BookmarkEventArgs.cs
- TypeDelegator.cs
- CopyOnWriteList.cs
- PropertyBuilder.cs
- DrawingAttributesDefaultValueFactory.cs
- DataControlReferenceCollection.cs
- PropertyPathConverter.cs
- RuleRefElement.cs
- FSWPathEditor.cs
- SignedPkcs7.cs
- ActiveXContainer.cs
- ResourcesChangeInfo.cs
- TextWriter.cs
- TriggerCollection.cs
- BrowserCapabilitiesFactory.cs
- SchemaCollectionPreprocessor.cs
- ModulesEntry.cs
- UnsafeNativeMethodsCLR.cs
- ToolboxComponentsCreatedEventArgs.cs
- ExpressionBuilderCollection.cs
- SqlConnectionFactory.cs
- Calendar.cs
- FloaterBaseParagraph.cs
- Descriptor.cs
- CatchBlock.cs
- BuildProvider.cs
- XmlSchemaComplexContentExtension.cs
- SafeBitVector32.cs
- SubclassTypeValidator.cs
- PublisherMembershipCondition.cs
- PasswordDeriveBytes.cs
- ExpressionNode.cs
- VectorCollectionConverter.cs
- SpinWait.cs
- ContainerFilterService.cs
- Selection.cs
- UnhandledExceptionEventArgs.cs
- ListCardsInFileRequest.cs
- SessionPageStateSection.cs
- EventPropertyMap.cs
- _DisconnectOverlappedAsyncResult.cs
- CollaborationHelperFunctions.cs
- MouseOverProperty.cs
- ObjectDataProvider.cs
- FilteredAttributeCollection.cs
- M3DUtil.cs
- ScrollableControl.cs
- ControlUtil.cs
- XmlSchemaResource.cs
- EntityDataSourceViewSchema.cs
- AsymmetricKeyExchangeFormatter.cs
- SQLBytes.cs
- HtmlFormWrapper.cs
- MatrixUtil.cs
- PasswordRecoveryAutoFormat.cs
- _SslState.cs
- CodeCompileUnit.cs
- LineProperties.cs
- AppSettingsExpressionBuilder.cs
- MultipleViewPattern.cs
- WebPartMenuStyle.cs
- GridSplitter.cs
- GridViewColumnHeader.cs
- PagesChangedEventArgs.cs
- WpfKnownType.cs
- ListInitExpression.cs
- RegexBoyerMoore.cs
- HtmlTableCellCollection.cs
- KeysConverter.cs
- GenericUI.cs
- TcpSocketManager.cs
- Keywords.cs