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
- ObjRef.cs
- SettingsPropertyIsReadOnlyException.cs
- TryExpression.cs
- FloaterParaClient.cs
- RIPEMD160Managed.cs
- ListControl.cs
- OdbcErrorCollection.cs
- DateTimeOffsetAdapter.cs
- FileDialogPermission.cs
- ReflectEventDescriptor.cs
- DriveInfo.cs
- DriveInfo.cs
- TransportDefaults.cs
- SectionRecord.cs
- serverconfig.cs
- DBBindings.cs
- TextEncodedRawTextWriter.cs
- Control.cs
- GenerateScriptTypeAttribute.cs
- updateconfighost.cs
- XPathAncestorIterator.cs
- SemaphoreSecurity.cs
- EdmSchemaAttribute.cs
- TextureBrush.cs
- EpmSourceTree.cs
- XsdCachingReader.cs
- NamespaceDisplay.xaml.cs
- NonVisualControlAttribute.cs
- HttpProtocolImporter.cs
- FilterQuery.cs
- ServicePrincipalNameElement.cs
- BitVector32.cs
- WeakRefEnumerator.cs
- QuaternionRotation3D.cs
- PersistChildrenAttribute.cs
- XmlAttributeCache.cs
- SqlFacetAttribute.cs
- SettingsAttributeDictionary.cs
- ParameterCollection.cs
- StylusTouchDevice.cs
- XmlSchemaAppInfo.cs
- GlobalEventManager.cs
- BaseAsyncResult.cs
- DataServiceStreamResponse.cs
- WindowProviderWrapper.cs
- RangeValuePattern.cs
- ComboBoxItem.cs
- COM2ExtendedTypeConverter.cs
- ChangesetResponse.cs
- UrlMappingsSection.cs
- SizeFConverter.cs
- ScrollEventArgs.cs
- MD5.cs
- HashAlgorithm.cs
- OrderedDictionary.cs
- ColorMatrix.cs
- SqlWorkflowInstanceStore.cs
- IdentitySection.cs
- SmiEventSink_DeferedProcessing.cs
- XmlC14NWriter.cs
- CaseKeyBox.xaml.cs
- METAHEADER.cs
- Constants.cs
- SimpleApplicationHost.cs
- itemelement.cs
- FileInfo.cs
- StatusBarAutomationPeer.cs
- DbConvert.cs
- RequestCacheEntry.cs
- HyperLinkColumn.cs
- ButtonChrome.cs
- SqlServer2KCompatibilityCheck.cs
- CompositeScriptReference.cs
- DiscoveryInnerClientAdhocCD1.cs
- LogManagementAsyncResult.cs
- DependencyObjectPropertyDescriptor.cs
- WebBrowserNavigatingEventHandler.cs
- DbParameterCollectionHelper.cs
- SqlWorkflowPersistenceService.cs
- DefaultTextStore.cs
- TypeBinaryExpression.cs
- DocumentPageHost.cs
- HierarchicalDataSourceControl.cs
- SelectorItemAutomationPeer.cs
- ThemeableAttribute.cs
- ValueProviderWrapper.cs
- IdentityHolder.cs
- DesignerDataConnection.cs
- ExplicitDiscriminatorMap.cs
- StyleCollectionEditor.cs
- WeakReference.cs
- GroupBox.cs
- OracleString.cs
- SqlErrorCollection.cs
- SQLSingleStorage.cs
- PresentationSource.cs
- RuntimeHandles.cs
- GridErrorDlg.cs
- OpenTypeLayout.cs
- List.cs