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
- StatusBarPanelClickEvent.cs
- QilList.cs
- Int32Converter.cs
- BindingContext.cs
- Expander.cs
- RegexMatch.cs
- PageTheme.cs
- SystemFonts.cs
- UshortList2.cs
- MatrixAnimationBase.cs
- AssertFilter.cs
- ClrPerspective.cs
- IxmlLineInfo.cs
- HttpCacheParams.cs
- TerminateDesigner.cs
- FontUnit.cs
- LocalBuilder.cs
- XmlILIndex.cs
- TypeValidationEventArgs.cs
- ChildrenQuery.cs
- StructuralCache.cs
- CreateRefExpr.cs
- TimerElapsedEvenArgs.cs
- CodeParameterDeclarationExpression.cs
- HttpResponseBase.cs
- ExtractCollection.cs
- ProcessHost.cs
- GridViewCommandEventArgs.cs
- XmlSchemaType.cs
- SqlCachedBuffer.cs
- EdmConstants.cs
- XmlSchemaNotation.cs
- OleDbErrorCollection.cs
- FixedSOMFixedBlock.cs
- FixedFindEngine.cs
- NameTable.cs
- InputLangChangeEvent.cs
- XmlCollation.cs
- FigureHelper.cs
- DataGridViewCellStyleChangedEventArgs.cs
- BamlLocalizableResourceKey.cs
- objectquery_tresulttype.cs
- DataViewSettingCollection.cs
- ColorComboBox.cs
- AssemblyHelper.cs
- SurrogateSelector.cs
- CapiSafeHandles.cs
- PersonalizableAttribute.cs
- RepeatBehavior.cs
- FormsAuthenticationCredentials.cs
- UpWmlMobileTextWriter.cs
- StrokeNodeOperations.cs
- PeerCollaboration.cs
- DataRowCollection.cs
- CatalogZone.cs
- MSAAWinEventWrap.cs
- Light.cs
- fixedPageContentExtractor.cs
- DtrList.cs
- TableLayoutCellPaintEventArgs.cs
- ListViewInsertionMark.cs
- WeakEventManager.cs
- ObjectDisposedException.cs
- Style.cs
- StyleXamlParser.cs
- EntityDataSourceSelectingEventArgs.cs
- RawUIStateInputReport.cs
- GeneralTransform3DCollection.cs
- ResolveNameEventArgs.cs
- LostFocusEventManager.cs
- SqlTriggerAttribute.cs
- BamlLocalizableResource.cs
- PrivilegeNotHeldException.cs
- RequestCachingSection.cs
- CodeStatement.cs
- XmlSchemaSimpleContent.cs
- WebBrowserProgressChangedEventHandler.cs
- StylusPointDescription.cs
- DomNameTable.cs
- TimestampInformation.cs
- ImmutablePropertyDescriptorGridEntry.cs
- VirtualPathProvider.cs
- ObjectDataSource.cs
- CodeDelegateCreateExpression.cs
- SelectorItemAutomationPeer.cs
- SynthesizerStateChangedEventArgs.cs
- HttpChannelHelpers.cs
- QueryContinueDragEvent.cs
- DocobjHost.cs
- EventLevel.cs
- FixedSOMTableRow.cs
- Evidence.cs
- DesignerLoader.cs
- SelectionPatternIdentifiers.cs
- DataGridViewColumnEventArgs.cs
- TrustVersion.cs
- DecoderBestFitFallback.cs
- CryptoHelper.cs
- NamespaceTable.cs
- Assembly.cs