Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / QualifiedCellIdBoolean.cs / 1 / QualifiedCellIdBoolean.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Data.Mapping.ViewGeneration.CqlGeneration; using System.Text; namespace System.Data.Mapping.ViewGeneration.Structures { // A class that denotes "T.booleanVar", e.g., "T1._from2" // It is a subclass of CellIdBoolean with an added block alias internal class QualifiedCellIdBoolean : CellIdBoolean { #region Constructor // effects: Creates a boolean of the form "block._from" internal QualifiedCellIdBoolean(CqlBlock block, CqlIdentifiers identifiers, int originalCellNum) : base(identifiers, originalCellNum) { m_block = block; } #endregion #region Fields private CqlBlock m_block; #endregion #region Methods internal override StringBuilder AsCql(StringBuilder builder, string blockAlias, bool canSkipIsNotNull) { // We ignore the given blockAlias since we already have a fully qualified name string qualifiedName = CqlWriter.GetQualifiedName(m_block.CqlAlias, SlotName); builder.Append(qualifiedName); return builder; } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Data.Mapping.ViewGeneration.CqlGeneration; using System.Text; namespace System.Data.Mapping.ViewGeneration.Structures { // A class that denotes "T.booleanVar", e.g., "T1._from2" // It is a subclass of CellIdBoolean with an added block alias internal class QualifiedCellIdBoolean : CellIdBoolean { #region Constructor // effects: Creates a boolean of the form "block._from" internal QualifiedCellIdBoolean(CqlBlock block, CqlIdentifiers identifiers, int originalCellNum) : base(identifiers, originalCellNum) { m_block = block; } #endregion #region Fields private CqlBlock m_block; #endregion #region Methods internal override StringBuilder AsCql(StringBuilder builder, string blockAlias, bool canSkipIsNotNull) { // We ignore the given blockAlias since we already have a fully qualified name string qualifiedName = CqlWriter.GetQualifiedName(m_block.CqlAlias, SlotName); builder.Append(qualifiedName); return builder; } #endregion } } // 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
- StorageEntityContainerMapping.cs
- TypedReference.cs
- InputLanguageManager.cs
- SqlUDTStorage.cs
- Section.cs
- EdmItemCollection.cs
- UpDownBaseDesigner.cs
- Tuple.cs
- PrimitiveOperationFormatter.cs
- CustomGrammar.cs
- PeerServiceMessageContracts.cs
- Module.cs
- Stopwatch.cs
- XmlSchemaComplexContentRestriction.cs
- WebPartTransformer.cs
- Size.cs
- DbMetaDataCollectionNames.cs
- FileVersionInfo.cs
- IPGlobalProperties.cs
- CodeRegionDirective.cs
- RectIndependentAnimationStorage.cs
- RangeValuePattern.cs
- NetworkInformationException.cs
- TablePattern.cs
- CapabilitiesUse.cs
- TextDecorationCollectionConverter.cs
- Separator.cs
- MDIClient.cs
- WebPartCatalogAddVerb.cs
- DropShadowBitmapEffect.cs
- PingOptions.cs
- Policy.cs
- _SslSessionsCache.cs
- Cloud.cs
- CheckStoreFileValidityRequest.cs
- MatrixAnimationBase.cs
- Int32AnimationBase.cs
- TemporaryBitmapFile.cs
- TargetConverter.cs
- DSASignatureDeformatter.cs
- DateRangeEvent.cs
- ProbeMatchesCD1.cs
- SoundPlayerAction.cs
- FilterFactory.cs
- FormViewRow.cs
- AssemblyAttributes.cs
- MobileContainerDesigner.cs
- UseAttributeSetsAction.cs
- VScrollBar.cs
- ResolveMatchesCD1.cs
- GlobalProxySelection.cs
- NotifyParentPropertyAttribute.cs
- VirtualizingPanel.cs
- FlowDocumentScrollViewer.cs
- QilXmlReader.cs
- OptimizedTemplateContent.cs
- DesignerSerializationVisibilityAttribute.cs
- sqlser.cs
- UnsignedPublishLicense.cs
- GPPOINTF.cs
- Authorization.cs
- GeometryCollection.cs
- Utils.cs
- FixedSOMLineRanges.cs
- HotSpotCollectionEditor.cs
- DesignerWebPartChrome.cs
- rsa.cs
- UriTemplateDispatchFormatter.cs
- PropertyGrid.cs
- CacheVirtualItemsEvent.cs
- OperandQuery.cs
- XmlSchemaComplexContent.cs
- ChannelSinkStacks.cs
- NamespaceEmitter.cs
- XmlDocumentFragment.cs
- SqlMethodAttribute.cs
- DragEventArgs.cs
- PageSetupDialog.cs
- ProfileParameter.cs
- Base64Encoder.cs
- FontDialog.cs
- TypedTableGenerator.cs
- COM2TypeInfoProcessor.cs
- TextAction.cs
- CriticalFinalizerObject.cs
- ImageCodecInfo.cs
- Shape.cs
- SubMenuStyle.cs
- DoubleUtil.cs
- AuthorizationSection.cs
- ComplexBindingPropertiesAttribute.cs
- EdmTypeAttribute.cs
- PrintPreviewControl.cs
- ControllableStoryboardAction.cs
- SoapIncludeAttribute.cs
- ApplicationManager.cs
- OutputCacheProfile.cs
- AssemblyAttributes.cs
- MatrixTransform.cs
- EmptyEnumerable.cs