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
- EventSourceCreationData.cs
- ImageCodecInfoPrivate.cs
- CompoundFileDeflateTransform.cs
- SafeReadContext.cs
- UpdatePanel.cs
- AnnotationHighlightLayer.cs
- ProfileInfo.cs
- HtmlInputButton.cs
- IteratorFilter.cs
- EmbeddedMailObjectsCollection.cs
- WrappedIUnknown.cs
- KeyValuePair.cs
- Triplet.cs
- DeploymentSectionCache.cs
- DispatcherHooks.cs
- Hash.cs
- StrokeCollection.cs
- SectionInput.cs
- StateDesigner.LayoutSelectionGlyph.cs
- DBConnectionString.cs
- LocalValueEnumerator.cs
- SimpleWorkerRequest.cs
- XmlBinaryReader.cs
- StreamUpdate.cs
- InternalException.cs
- ConfigurationElementCollection.cs
- SizeConverter.cs
- ToolBarDesigner.cs
- ContentElement.cs
- SoapExtensionTypeElement.cs
- HtmlString.cs
- DataListItemEventArgs.cs
- BitmapVisualManager.cs
- XmlSchemaSimpleContent.cs
- EncodingTable.cs
- SocketInformation.cs
- SuppressMessageAttribute.cs
- DataGridViewSelectedColumnCollection.cs
- AnnotationComponentChooser.cs
- userdatakeys.cs
- FlowDocumentReader.cs
- Event.cs
- StructuralCache.cs
- HttpSysSettings.cs
- SystemIPInterfaceStatistics.cs
- SmiRequestExecutor.cs
- ProjectedWrapper.cs
- GridViewRowCollection.cs
- GeometryGroup.cs
- SurrogateChar.cs
- SetterTriggerConditionValueConverter.cs
- WindowsFormsSectionHandler.cs
- QualificationDataAttribute.cs
- Header.cs
- Misc.cs
- Currency.cs
- PowerEase.cs
- FusionWrap.cs
- DataGridColumnCollection.cs
- SoundPlayerAction.cs
- HttpClientChannel.cs
- XmlDataLoader.cs
- TemporaryBitmapFile.cs
- MessageVersionConverter.cs
- ModuleBuilder.cs
- MembershipUser.cs
- MessageParameterAttribute.cs
- NonceCache.cs
- AppDomainFactory.cs
- ApplicationActivator.cs
- InlineObject.cs
- XmlBaseWriter.cs
- NullToBooleanConverter.cs
- GridViewUpdatedEventArgs.cs
- PixelFormatConverter.cs
- XPathPatternBuilder.cs
- CodeTypeDeclarationCollection.cs
- HashCodeCombiner.cs
- SiteMapNodeCollection.cs
- DictionaryContent.cs
- ContainerActivationHelper.cs
- ThicknessAnimationBase.cs
- WindowsImpersonationContext.cs
- UserInitiatedNavigationPermission.cs
- TextSearch.cs
- StringAnimationUsingKeyFrames.cs
- AlphabetConverter.cs
- ProvidersHelper.cs
- QilTernary.cs
- ValidationRuleCollection.cs
- StylusCaptureWithinProperty.cs
- SyndicationElementExtensionCollection.cs
- InputManager.cs
- MatrixTransform3D.cs
- AnonymousIdentificationSection.cs
- HashRepartitionEnumerator.cs
- RecordBuilder.cs
- StrokeNodeOperations2.cs
- IISUnsafeMethods.cs
- Select.cs