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
- BitmapSourceSafeMILHandle.cs
- CellTreeNode.cs
- RecognizedAudio.cs
- ContentPresenter.cs
- URIFormatException.cs
- ScopelessEnumAttribute.cs
- XmlNodeChangedEventArgs.cs
- EraserBehavior.cs
- QueryContinueDragEvent.cs
- Debug.cs
- CorrelationKey.cs
- XamlToRtfParser.cs
- DeferredElementTreeState.cs
- OleDbCommandBuilder.cs
- DataRecordInfo.cs
- Internal.cs
- SystemEvents.cs
- EmptyStringExpandableObjectConverter.cs
- XsdBuildProvider.cs
- VoiceInfo.cs
- SqlDataSourceFilteringEventArgs.cs
- HtmlCommandAdapter.cs
- DoubleLinkList.cs
- ValidationHelper.cs
- SafeMILHandleMemoryPressure.cs
- TypeDescriptionProviderAttribute.cs
- ObjectPersistData.cs
- StoragePropertyMapping.cs
- SoapAttributes.cs
- AlphabeticalEnumConverter.cs
- ListParaClient.cs
- FixedPageAutomationPeer.cs
- XmlSchemas.cs
- PreviewPrintController.cs
- PropertyInfoSet.cs
- DbProviderFactoriesConfigurationHandler.cs
- RelationshipManager.cs
- CallInfo.cs
- RemotingAttributes.cs
- IUnknownConstantAttribute.cs
- WebColorConverter.cs
- NewItemsContextMenuStrip.cs
- EventLogPermissionEntry.cs
- designeractionbehavior.cs
- RowSpanVector.cs
- TextFormatterContext.cs
- SqlReferenceCollection.cs
- AttachedPropertyDescriptor.cs
- StyleSheet.cs
- MultiBindingExpression.cs
- DetailsViewDeleteEventArgs.cs
- SafeProcessHandle.cs
- XamlTreeBuilderBamlRecordWriter.cs
- TrustSection.cs
- XmlLoader.cs
- EdgeProfileValidation.cs
- List.cs
- LayoutEngine.cs
- IISMapPath.cs
- SecurityTokenResolver.cs
- StateMachine.cs
- ComplexBindingPropertiesAttribute.cs
- GlyphManager.cs
- WebPageTraceListener.cs
- ScriptingRoleServiceSection.cs
- ReplyChannelBinder.cs
- IRCollection.cs
- sqlcontext.cs
- CompositeCollection.cs
- ReferenceEqualityComparer.cs
- FrameworkContextData.cs
- TemplatePropertyEntry.cs
- ClientConfigurationHost.cs
- XmlFormatMapping.cs
- ToolStripContextMenu.cs
- CngAlgorithm.cs
- UpDownEvent.cs
- documentsequencetextview.cs
- OdbcException.cs
- ReverseInheritProperty.cs
- TextBox.cs
- CodeTryCatchFinallyStatement.cs
- BuildManagerHost.cs
- remotingproxy.cs
- ReflectEventDescriptor.cs
- EpmSourceTree.cs
- BinaryConverter.cs
- GuidTagList.cs
- FormatException.cs
- _LocalDataStore.cs
- WebPartTracker.cs
- TextBoxDesigner.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- UIElement.cs
- PrintDialogException.cs
- XmlQueryType.cs
- AutomationElement.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- CompoundFileReference.cs
- CompressionTransform.cs