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
- IArgumentProvider.cs
- ContentValidator.cs
- NetworkInterface.cs
- ValidationResult.cs
- StorageTypeMapping.cs
- TextBreakpoint.cs
- ChildTable.cs
- PathSegmentCollection.cs
- SelectingProviderEventArgs.cs
- ParseHttpDate.cs
- coordinator.cs
- ButtonBaseAdapter.cs
- RadioButtonRenderer.cs
- Guid.cs
- SspiHelper.cs
- SafeNativeMethods.cs
- MultiPageTextView.cs
- SystemColorTracker.cs
- Control.cs
- XslAst.cs
- ImageIndexConverter.cs
- TimeEnumHelper.cs
- ObjectAnimationUsingKeyFrames.cs
- DataGridViewAccessibleObject.cs
- SimpleApplicationHost.cs
- VectorAnimationUsingKeyFrames.cs
- Cursors.cs
- DataGridViewImageCell.cs
- EventOpcode.cs
- CodeSnippetStatement.cs
- RawTextInputReport.cs
- RegexMatch.cs
- arc.cs
- StylusOverProperty.cs
- TiffBitmapEncoder.cs
- EncoderParameters.cs
- GuidConverter.cs
- XmlAttributeAttribute.cs
- PeerNearMe.cs
- DbConnectionStringCommon.cs
- TransactionFlowElement.cs
- EmptyStringExpandableObjectConverter.cs
- LiteralTextParser.cs
- DataControlFieldHeaderCell.cs
- ChannelOptions.cs
- RepeatBehaviorConverter.cs
- FileIOPermission.cs
- Polyline.cs
- HttpBufferlessInputStream.cs
- TransformerConfigurationWizardBase.cs
- shaperfactoryquerycachekey.cs
- PublisherMembershipCondition.cs
- TagPrefixCollection.cs
- XPathExpr.cs
- StorageMappingItemLoader.cs
- SchemaObjectWriter.cs
- LoginView.cs
- SqlNodeAnnotations.cs
- ExpressionBindings.cs
- Ref.cs
- DrawingContextWalker.cs
- StringFormat.cs
- DocumentsTrace.cs
- DetailsViewRow.cs
- GridViewItemAutomationPeer.cs
- Knowncolors.cs
- BroadcastEventHelper.cs
- ZipIOModeEnforcingStream.cs
- BasicKeyConstraint.cs
- XmlHierarchicalDataSourceView.cs
- SqlNotificationEventArgs.cs
- CompleteWizardStep.cs
- DataRecordInfo.cs
- Asn1IntegerConverter.cs
- SmtpFailedRecipientException.cs
- ArgumentOutOfRangeException.cs
- IndexedEnumerable.cs
- XPathScanner.cs
- XhtmlBasicLabelAdapter.cs
- LambdaCompiler.cs
- EntityObject.cs
- BuildDependencySet.cs
- CompositeFontParser.cs
- CommandPlan.cs
- CodeComment.cs
- ToolStripDropTargetManager.cs
- NodeFunctions.cs
- ExpressionBuilderCollection.cs
- SafeHandle.cs
- METAHEADER.cs
- XmlNode.cs
- DataGridViewButtonCell.cs
- XmlSerializerAssemblyAttribute.cs
- Bitmap.cs
- BinHexDecoder.cs
- SeverityFilter.cs
- StateRuntime.cs
- TextDecorationCollection.cs
- Activator.cs
- Scene3D.cs