Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- OdbcParameter.cs
- TextProviderWrapper.cs
- HttpBrowserCapabilitiesWrapper.cs
- GrammarBuilderBase.cs
- LayoutTable.cs
- SwitchDesigner.xaml.cs
- OracleString.cs
- precedingsibling.cs
- EpmSyndicationContentSerializer.cs
- DataGridViewAddColumnDialog.cs
- ReadOnlyNameValueCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- MembershipValidatePasswordEventArgs.cs
- TaskForm.cs
- IPPacketInformation.cs
- MouseOverProperty.cs
- formatter.cs
- TableLayoutStyleCollection.cs
- OrderByQueryOptionExpression.cs
- RunInstallerAttribute.cs
- InputLanguageManager.cs
- ToolStripHighContrastRenderer.cs
- ClientUtils.cs
- ScriptResourceAttribute.cs
- PowerModeChangedEventArgs.cs
- StringSource.cs
- Model3DGroup.cs
- SmtpMail.cs
- AnnotationComponentChooser.cs
- cookiecollection.cs
- ColumnBinding.cs
- TextTrailingWordEllipsis.cs
- SimpleType.cs
- DoubleLinkListEnumerator.cs
- SqlOuterApplyReducer.cs
- ServiceRouteHandler.cs
- SecurityValidationBehavior.cs
- TransformerInfo.cs
- CounterCreationData.cs
- ReservationCollection.cs
- TextCollapsingProperties.cs
- ChoiceConverter.cs
- EdmMember.cs
- ModulesEntry.cs
- WebBrowserContainer.cs
- FixedSOMImage.cs
- StylusPointDescription.cs
- RoutedCommand.cs
- _CacheStreams.cs
- unsafenativemethodstextservices.cs
- RawKeyboardInputReport.cs
- MinMaxParagraphWidth.cs
- Bits.cs
- CurrentTimeZone.cs
- RadioButtonDesigner.cs
- XmlQueryContext.cs
- ServiceContractViewControl.Designer.cs
- DataGridItemEventArgs.cs
- SoapCodeExporter.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- DataGridViewCell.cs
- AssociatedControlConverter.cs
- RtfControls.cs
- Membership.cs
- basenumberconverter.cs
- QilValidationVisitor.cs
- EditorPartChrome.cs
- ISAPIRuntime.cs
- KeyValueSerializer.cs
- StreamingContext.cs
- SqlLiftWhereClauses.cs
- IfAction.cs
- CharEnumerator.cs
- DataGridView.cs
- _FtpControlStream.cs
- AsymmetricKeyExchangeFormatter.cs
- HttpEncoder.cs
- ClassValidator.cs
- CurrencyManager.cs
- CustomAttributeFormatException.cs
- Vector3DIndependentAnimationStorage.cs
- PassportIdentity.cs
- GroupStyle.cs
- ApplicationBuildProvider.cs
- EnumBuilder.cs
- GeometryHitTestResult.cs
- Context.cs
- EditorZone.cs
- MenuBase.cs
- AccessDataSourceView.cs
- TypedMessageConverter.cs
- DurableInstanceContextProvider.cs
- ColumnMapCopier.cs
- CurrencyWrapper.cs
- ThemeDirectoryCompiler.cs
- ApplicationHost.cs
- BaseParser.cs
- WebServiceData.cs
- RsaSecurityKey.cs
- ResponseBodyWriter.cs