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
- LicenseProviderAttribute.cs
- HostedHttpRequestAsyncResult.cs
- XmlDigitalSignatureProcessor.cs
- LoginCancelEventArgs.cs
- arclist.cs
- StateWorkerRequest.cs
- KeyTimeConverter.cs
- SchemaExporter.cs
- CreateRefExpr.cs
- ProcessManager.cs
- XmlImplementation.cs
- ContainerSelectorBehavior.cs
- ToolStripStatusLabel.cs
- PropertyConverter.cs
- ConstraintCollection.cs
- XmlJsonWriter.cs
- AsymmetricAlgorithm.cs
- SpecialNameAttribute.cs
- WebBaseEventKeyComparer.cs
- TabletCollection.cs
- SafeProcessHandle.cs
- SqlGatherConsumedAliases.cs
- WindowsEditBox.cs
- ModelPropertyCollectionImpl.cs
- MenuCommand.cs
- Cursor.cs
- HighlightVisual.cs
- UnsafeNativeMethodsPenimc.cs
- ProtocolsConfiguration.cs
- OdbcEnvironmentHandle.cs
- xmlformatgeneratorstatics.cs
- VectorAnimation.cs
- TimeoutTimer.cs
- ReadOnlyHierarchicalDataSourceView.cs
- RoutedUICommand.cs
- HttpHandlerAction.cs
- RequestCachePolicy.cs
- SchemaCollectionPreprocessor.cs
- HashAlgorithm.cs
- ServiceDescriptionImporter.cs
- SweepDirectionValidation.cs
- TextFindEngine.cs
- MatrixUtil.cs
- BooleanConverter.cs
- Wizard.cs
- EdmProperty.cs
- HeaderedContentControl.cs
- XmlSchemaCompilationSettings.cs
- DateTimeOffset.cs
- InternalPermissions.cs
- AdRotator.cs
- SerializationFieldInfo.cs
- ListBox.cs
- TableColumn.cs
- ContextProperty.cs
- TogglePatternIdentifiers.cs
- EndpointAddress10.cs
- BuildProvider.cs
- NetworkInterface.cs
- ScriptReferenceBase.cs
- CacheRequest.cs
- StorageAssociationTypeMapping.cs
- ResourceContainer.cs
- CompiledQuery.cs
- OdbcHandle.cs
- DbProviderFactory.cs
- CodeAttributeArgumentCollection.cs
- XmlSchemaImporter.cs
- TableSectionStyle.cs
- DataGridViewComboBoxEditingControl.cs
- DataAccessor.cs
- ChangeInterceptorAttribute.cs
- FormsAuthentication.cs
- RepeaterItemEventArgs.cs
- WeakReference.cs
- EntityContainerAssociationSet.cs
- OracleSqlParser.cs
- XmlSiteMapProvider.cs
- ResumeStoryboard.cs
- EncodingNLS.cs
- NameSpaceExtractor.cs
- PageWrapper.cs
- ElementProxy.cs
- Boolean.cs
- ImageAnimator.cs
- OptimizerPatterns.cs
- graph.cs
- SQLInt64.cs
- WindowsToolbarAsMenu.cs
- DataGridViewSelectedColumnCollection.cs
- AuthenticationModuleElement.cs
- LineInfo.cs
- ToolStripSplitStackLayout.cs
- PageRanges.cs
- BitmapEffectvisualstate.cs
- Button.cs
- XmlAtomicValue.cs
- ControlBuilder.cs
- PageParserFilter.cs
- CodeCastExpression.cs