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
- ChannelServices.cs
- DesignerAutoFormatCollection.cs
- WebColorConverter.cs
- SafeMILHandle.cs
- DataSvcMapFile.cs
- ContextMenuService.cs
- sqlcontext.cs
- CheckBox.cs
- LicenseContext.cs
- Ref.cs
- CollectionViewGroup.cs
- PageMediaType.cs
- SqlVersion.cs
- GestureRecognizer.cs
- MulticastNotSupportedException.cs
- ComplexType.cs
- PropertyAccessVisitor.cs
- ListViewHitTestInfo.cs
- ActionItem.cs
- Transactions.cs
- Compress.cs
- ReturnType.cs
- SignatureToken.cs
- AccessKeyManager.cs
- TransportChannelListener.cs
- EntityTypeEmitter.cs
- FunctionDetailsReader.cs
- SqlNamer.cs
- WebBrowserPermission.cs
- TextBox.cs
- ToolStripItemDesigner.cs
- StringValueSerializer.cs
- CodePropertyReferenceExpression.cs
- Attributes.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- ReachPrintTicketSerializerAsync.cs
- Span.cs
- InternalTypeHelper.cs
- TimeZoneInfo.cs
- TableLayout.cs
- HeaderedItemsControl.cs
- CacheDict.cs
- SvcMapFileLoader.cs
- Glyph.cs
- InputBinder.cs
- StrokeCollectionConverter.cs
- NativeMethods.cs
- XmlSchema.cs
- DoubleAnimationUsingKeyFrames.cs
- OutputScopeManager.cs
- PartialCachingAttribute.cs
- ToolStripPanelRenderEventArgs.cs
- MetadataArtifactLoaderComposite.cs
- DocumentViewer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- CheckBox.cs
- NavigatorInvalidBodyAccessException.cs
- IssuanceLicense.cs
- TypeConverterValueSerializer.cs
- AutoSizeToolBoxItem.cs
- DbLambda.cs
- InfiniteIntConverter.cs
- WebPartDisplayMode.cs
- Emitter.cs
- DataGrid.cs
- WindowPatternIdentifiers.cs
- TreeView.cs
- ProcessHostConfigUtils.cs
- ToolConsole.cs
- AssemblyResourceLoader.cs
- ContainerUtilities.cs
- NameSpaceExtractor.cs
- EllipseGeometry.cs
- QuaternionRotation3D.cs
- ActivityDefaults.cs
- SimplePropertyEntry.cs
- KeyToListMap.cs
- XmlSchemaComplexContentExtension.cs
- CustomErrorsSectionWrapper.cs
- PasswordTextContainer.cs
- Comparer.cs
- connectionpool.cs
- Grant.cs
- WaitForChangedResult.cs
- HasCopySemanticsAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- PropertyInformation.cs
- MaterializeFromAtom.cs
- DashStyle.cs
- FileUpload.cs
- FontFamilyValueSerializer.cs
- SamlAuthorizationDecisionClaimResource.cs
- AsmxEndpointPickerExtension.cs
- StorageRoot.cs
- TypeToStringValueConverter.cs
- DeviceSpecificDesigner.cs
- TableCell.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- Message.cs
- WorkflowExecutor.cs