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
- StructuralCache.cs
- AudienceUriMode.cs
- ConnectionPointCookie.cs
- HostedHttpTransportManager.cs
- DEREncoding.cs
- SafeEventLogReadHandle.cs
- ModelTreeEnumerator.cs
- AttributeEmitter.cs
- HttpProfileBase.cs
- SqlUtils.cs
- ApplicationManager.cs
- TypeDescriptionProvider.cs
- ProfileManager.cs
- ImportedNamespaceContextItem.cs
- TdsEnums.cs
- updatecommandorderer.cs
- ReadOnlyHierarchicalDataSource.cs
- ProvidersHelper.cs
- UrlMappingsModule.cs
- ExternalDataExchangeService.cs
- EntityViewGenerator.cs
- dtdvalidator.cs
- CompiledIdentityConstraint.cs
- ImageSourceValueSerializer.cs
- DetailsViewAutoFormat.cs
- FontFamilyConverter.cs
- TableRowCollection.cs
- KeyInterop.cs
- ToolStripComboBox.cs
- JavaScriptSerializer.cs
- SmtpNtlmAuthenticationModule.cs
- TypeBinaryExpression.cs
- DataTable.cs
- DesignerActionGlyph.cs
- documentsequencetextview.cs
- OdbcConnectionStringbuilder.cs
- FragmentQuery.cs
- FunctionDefinition.cs
- PauseStoryboard.cs
- AutomationIdentifier.cs
- DataServiceProcessingPipelineEventArgs.cs
- XmlSchemaComplexContentExtension.cs
- SimpleBitVector32.cs
- OperationPickerDialog.designer.cs
- DBBindings.cs
- listitem.cs
- __Error.cs
- FixedSOMTable.cs
- Documentation.cs
- SecUtil.cs
- TypeListConverter.cs
- CodeParameterDeclarationExpressionCollection.cs
- DataTableClearEvent.cs
- OrderByBuilder.cs
- StrokeCollection2.cs
- MemberHolder.cs
- TreeViewCancelEvent.cs
- RewritingValidator.cs
- XPathParser.cs
- objectquery_tresulttype.cs
- EntityContainer.cs
- XmlQuerySequence.cs
- VideoDrawing.cs
- XmlNodeChangedEventManager.cs
- documentsequencetextview.cs
- SystemColors.cs
- AnyReturnReader.cs
- SourceItem.cs
- PointLight.cs
- WebZone.cs
- SingleObjectCollection.cs
- RecipientInfo.cs
- MenuItemCollectionEditor.cs
- DeferredReference.cs
- ToolboxComponentsCreatedEventArgs.cs
- ContainerFilterService.cs
- TransactionBehavior.cs
- ImageAnimator.cs
- ParameterCollection.cs
- RichTextBoxDesigner.cs
- Helper.cs
- ParameterReplacerVisitor.cs
- TimeoutValidationAttribute.cs
- TdsRecordBufferSetter.cs
- MetaData.cs
- GenerateTemporaryTargetAssembly.cs
- OleStrCAMarshaler.cs
- PeerApplication.cs
- StringFormat.cs
- DesignerDeviceConfig.cs
- DispatcherProcessingDisabled.cs
- ImageMetadata.cs
- RightsManagementInformation.cs
- ProjectionRewriter.cs
- EqualityComparer.cs
- EventMappingSettings.cs
- InputLanguageManager.cs
- DesignerToolboxInfo.cs
- UriSection.cs
- UriGenerator.cs