Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- RelationshipConverter.cs
- TabItemAutomationPeer.cs
- PersonalizablePropertyEntry.cs
- PeerReferralPolicy.cs
- TagPrefixCollection.cs
- EmulateRecognizeCompletedEventArgs.cs
- TemplateControlParser.cs
- DiscoveryOperationContext.cs
- CompilerTypeWithParams.cs
- Point3DValueSerializer.cs
- RawStylusInputCustomDataList.cs
- RoleManagerSection.cs
- RestClientProxyHandler.cs
- TableAutomationPeer.cs
- WindowsListView.cs
- StringSorter.cs
- XmlSecureResolver.cs
- PersonalizationStateInfo.cs
- MutableAssemblyCacheEntry.cs
- WhitespaceSignificantCollectionAttribute.cs
- Rect3DValueSerializer.cs
- Perspective.cs
- Stackframe.cs
- PropertyGridCommands.cs
- ValueTypeFixupInfo.cs
- Stroke2.cs
- TypeConverterHelper.cs
- DecoderFallback.cs
- EmptyReadOnlyDictionaryInternal.cs
- DCSafeHandle.cs
- SqlDuplicator.cs
- StyleHelper.cs
- CurrentChangingEventManager.cs
- DoubleAnimationClockResource.cs
- SessionIDManager.cs
- CompilerCollection.cs
- NamespaceDecl.cs
- ToolboxItemAttribute.cs
- CipherData.cs
- ListControlDesigner.cs
- PointLightBase.cs
- XmlAutoDetectWriter.cs
- CodeAttributeArgument.cs
- BStrWrapper.cs
- DataRowChangeEvent.cs
- AppDomainFactory.cs
- NullRuntimeConfig.cs
- Font.cs
- WebPartMenuStyle.cs
- LineBreak.cs
- QuaternionValueSerializer.cs
- ElementUtil.cs
- InvalidComObjectException.cs
- LinqDataSourceContextEventArgs.cs
- ExecutionContext.cs
- ExeContext.cs
- ScriptingRoleServiceSection.cs
- GridViewUpdatedEventArgs.cs
- InplaceBitmapMetadataWriter.cs
- HandleCollector.cs
- Executor.cs
- ellipse.cs
- ValidationEventArgs.cs
- SqlCommandBuilder.cs
- MailMessageEventArgs.cs
- WindowsTokenRoleProvider.cs
- ValidatorCollection.cs
- AdornerPresentationContext.cs
- OletxTransactionManager.cs
- Header.cs
- PrintEvent.cs
- RubberbandSelector.cs
- XmlElementList.cs
- DynamicResourceExtension.cs
- JsonUriDataContract.cs
- CategoryGridEntry.cs
- WindowsListViewItemCheckBox.cs
- XmlDomTextWriter.cs
- InstanceValue.cs
- NetNamedPipeBindingElement.cs
- Color.cs
- ConnectionPoolManager.cs
- HelpInfo.cs
- IntegrationExceptionEventArgs.cs
- Invariant.cs
- HtmlControl.cs
- XmlTextWriter.cs
- TableHeaderCell.cs
- MouseEventArgs.cs
- AnimatedTypeHelpers.cs
- ControlBindingsCollection.cs
- BamlResourceContent.cs
- SourceElementsCollection.cs
- SqlFlattener.cs
- OracleBinary.cs
- StyleModeStack.cs
- WebPartDisplayModeCancelEventArgs.cs
- IconHelper.cs
- DesignTimeVisibleAttribute.cs
- PrintPageEvent.cs