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
- TokenFactoryBase.cs
- ByteRangeDownloader.cs
- ObjectSecurity.cs
- ScriptMethodAttribute.cs
- ItemContainerGenerator.cs
- EntityDataSourceWizardForm.cs
- Profiler.cs
- SimpleNameService.cs
- QueryParameter.cs
- XmlSchemaAnyAttribute.cs
- BinaryExpressionHelper.cs
- PropertiesTab.cs
- DbProviderFactory.cs
- HWStack.cs
- Baml6Assembly.cs
- BulletDecorator.cs
- ScriptReference.cs
- ValidationEventArgs.cs
- SafeEventLogReadHandle.cs
- ServiceDescription.cs
- Misc.cs
- DataGridViewCellEventArgs.cs
- FileLogRecordHeader.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SqlLiftWhereClauses.cs
- MessagePropertyVariants.cs
- SpeechSeg.cs
- DataSet.cs
- GeneralTransform3DCollection.cs
- SystemResources.cs
- StackBuilderSink.cs
- NodeLabelEditEvent.cs
- PersistenceContextEnlistment.cs
- GridViewRowCollection.cs
- PageWrapper.cs
- DoubleKeyFrameCollection.cs
- X509CertificateTrustedIssuerElementCollection.cs
- FileEnumerator.cs
- ServiceDurableInstance.cs
- ApplicationException.cs
- relpropertyhelper.cs
- HeaderUtility.cs
- StaticSiteMapProvider.cs
- QilInvokeLateBound.cs
- HotSpotCollection.cs
- ServiceSecurityAuditElement.cs
- ToggleButton.cs
- ClientSponsor.cs
- DataSourceControl.cs
- ApplicationInterop.cs
- CommonDialog.cs
- AnnouncementEndpoint.cs
- HttpPostedFileBase.cs
- InitializationEventAttribute.cs
- AllMembershipCondition.cs
- InvalidAsynchronousStateException.cs
- EventsTab.cs
- ZipIORawDataFileBlock.cs
- RichTextBoxConstants.cs
- TreeNodeBinding.cs
- AssemblyGen.cs
- SafeReversePInvokeHandle.cs
- TreeView.cs
- RecordManager.cs
- GridViewAutomationPeer.cs
- ShapeTypeface.cs
- ObjectViewListener.cs
- AnyReturnReader.cs
- MaterialGroup.cs
- HuffmanTree.cs
- AutomationPeer.cs
- KeyPressEvent.cs
- ArithmeticException.cs
- MsmqOutputMessage.cs
- Byte.cs
- ColumnResizeAdorner.cs
- SchemaImporterExtensionElementCollection.cs
- BitmapEffectDrawingContextState.cs
- DataGridHeaderBorder.cs
- DataGridLinkButton.cs
- Baml2006SchemaContext.cs
- ObjectTag.cs
- Console.cs
- SqlGatherConsumedAliases.cs
- XmlHierarchicalDataSourceView.cs
- ChannelServices.cs
- Keywords.cs
- MergeFailedEvent.cs
- CustomErrorCollection.cs
- ValidationEventArgs.cs
- ManipulationInertiaStartingEventArgs.cs
- FlowDocument.cs
- GeometryCollection.cs
- DataRecordInternal.cs
- UrlEncodedParameterWriter.cs
- DateTimeValueSerializer.cs
- CollectionsUtil.cs
- DataGrid.cs
- WorkflowItemPresenter.cs
- FixedTextView.cs