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
![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
- CodeConditionStatement.cs
- DataGridToolTip.cs
- PhysicalAddress.cs
- ComboBoxAutomationPeer.cs
- CharConverter.cs
- DbConnectionPool.cs
- ChtmlMobileTextWriter.cs
- DockAndAnchorLayout.cs
- SqlError.cs
- SafeNativeMethods.cs
- DataGridViewCellFormattingEventArgs.cs
- DecimalConstantAttribute.cs
- MemberInitExpression.cs
- XomlDesignerLoader.cs
- CustomPopupPlacement.cs
- DynamicPropertyReader.cs
- BindableTemplateBuilder.cs
- KeyValuePair.cs
- ThemeDirectoryCompiler.cs
- EmptyReadOnlyDictionaryInternal.cs
- EventLogPermissionEntryCollection.cs
- SafeMarshalContext.cs
- TextEncodedRawTextWriter.cs
- MimeParameterWriter.cs
- _RequestLifetimeSetter.cs
- HwndSubclass.cs
- WizardPanel.cs
- ControlBuilderAttribute.cs
- AuthenticationException.cs
- WorkerRequest.cs
- Utils.cs
- TreeView.cs
- MSAAWinEventWrap.cs
- ViewStateException.cs
- Wizard.cs
- ReferentialConstraint.cs
- MemberAccessException.cs
- WeakRefEnumerator.cs
- TemplatedWizardStep.cs
- ToolstripProfessionalRenderer.cs
- ProcessHostConfigUtils.cs
- ActiveXSerializer.cs
- Button.cs
- EntityDataSourceViewSchema.cs
- TextTreeInsertElementUndoUnit.cs
- OperationAbortedException.cs
- MediaTimeline.cs
- GenerateTemporaryTargetAssembly.cs
- ComplexType.cs
- XmlSchemaSimpleTypeUnion.cs
- EntityDataSourceContextCreatingEventArgs.cs
- EventBookmark.cs
- HelpFileFileNameEditor.cs
- GridEntry.cs
- ControlParameter.cs
- GetWorkflowTree.cs
- SizeLimitedCache.cs
- GlyphRunDrawing.cs
- DataGridViewHeaderCell.cs
- Debug.cs
- QilTargetType.cs
- StylusDownEventArgs.cs
- DataBoundControlParameterTarget.cs
- SqlInternalConnectionTds.cs
- ColorPalette.cs
- AssemblyAssociatedContentFileAttribute.cs
- DtdParser.cs
- XmlMembersMapping.cs
- SharedUtils.cs
- NestPullup.cs
- TriState.cs
- TreeViewEvent.cs
- NetworkCredential.cs
- MediaTimeline.cs
- TypedRowHandler.cs
- x509utils.cs
- SecurityException.cs
- DesignerOptionService.cs
- ApplicationFileParser.cs
- MergablePropertyAttribute.cs
- SynchronizationLockException.cs
- DataBoundLiteralControl.cs
- __Filters.cs
- SafeHandles.cs
- TableItemProviderWrapper.cs
- LinkConverter.cs
- Icon.cs
- DataGridViewToolTip.cs
- DesignerLoader.cs
- TypeConvertions.cs
- EventData.cs
- ComplexLine.cs
- TailPinnedEventArgs.cs
- RedirectionProxy.cs
- HtmlFormParameterWriter.cs
- TextEditor.cs
- ConfigXmlComment.cs
- OdbcErrorCollection.cs
- DbException.cs
- DependentList.cs