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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InternalBase.cs
- RequestResponse.cs
- TaiwanLunisolarCalendar.cs
- MultiAsyncResult.cs
- PatternMatcher.cs
- ScriptReferenceBase.cs
- GridViewUpdateEventArgs.cs
- versioninfo.cs
- TextDecorationCollectionConverter.cs
- ContentTextAutomationPeer.cs
- SharedPerformanceCounter.cs
- DbMetaDataFactory.cs
- MultipleViewPatternIdentifiers.cs
- AnchorEditor.cs
- PackageRelationship.cs
- TraceContext.cs
- AsyncPostBackTrigger.cs
- ThemeDirectoryCompiler.cs
- DataGridAddNewRow.cs
- DataGridTableCollection.cs
- StylusCollection.cs
- TdsValueSetter.cs
- TaiwanLunisolarCalendar.cs
- ThreadPool.cs
- RuleSetDialog.Designer.cs
- DependencySource.cs
- ToolbarAUtomationPeer.cs
- ToolStripStatusLabel.cs
- BuildDependencySet.cs
- DynamicRenderer.cs
- FlowDocumentFormatter.cs
- AppDomainProtocolHandler.cs
- CalendarTable.cs
- wgx_commands.cs
- _ConnectStream.cs
- ImageField.cs
- SoapCodeExporter.cs
- SchemaElementDecl.cs
- ManagedCodeMarkers.cs
- ZoomPercentageConverter.cs
- ValidationPropertyAttribute.cs
- ExpressionBuilderContext.cs
- CrossContextChannel.cs
- FullTextState.cs
- XhtmlTextWriter.cs
- IncrementalHitTester.cs
- basevalidator.cs
- EventLogPermissionEntry.cs
- GroupBoxAutomationPeer.cs
- WebPartPersonalization.cs
- validationstate.cs
- TransactionProtocolConverter.cs
- ReadOnlyTernaryTree.cs
- BuildResultCache.cs
- securitymgrsite.cs
- CustomAttributeSerializer.cs
- TextViewBase.cs
- RootBuilder.cs
- InternalControlCollection.cs
- ContentElement.cs
- EntityContainer.cs
- MaterialGroup.cs
- ExtractedStateEntry.cs
- WriteFileContext.cs
- GridViewColumnCollectionChangedEventArgs.cs
- WizardPanel.cs
- MessageFilterTable.cs
- ZoomPercentageConverter.cs
- DataGridViewCellConverter.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- SuppressIldasmAttribute.cs
- FormatStringEditor.cs
- DesignTimeTemplateParser.cs
- ClientSettingsStore.cs
- PageCodeDomTreeGenerator.cs
- SponsorHelper.cs
- DriveInfo.cs
- Oci.cs
- Pkcs7Recipient.cs
- PropertyItem.cs
- SQLInt16.cs
- Region.cs
- CustomAttributeFormatException.cs
- HyperlinkAutomationPeer.cs
- TextRangeEditLists.cs
- DataSourceProvider.cs
- XmlElementAttributes.cs
- URL.cs
- PeerIPHelper.cs
- EncryptedPackage.cs
- XmlComment.cs
- RequestTimeoutManager.cs
- COAUTHINFO.cs
- xamlnodes.cs
- AtomContentProperty.cs
- EmptyImpersonationContext.cs
- InvokeBase.cs
- SystemUdpStatistics.cs
- HandlerBase.cs
- DebugView.cs