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
- ControlPropertyNameConverter.cs
- HttpHandlerActionCollection.cs
- BulletedListDesigner.cs
- METAHEADER.cs
- FieldDescriptor.cs
- TableLayoutSettings.cs
- DefaultValueAttribute.cs
- NullableConverter.cs
- PolicyLevel.cs
- ApplicationDirectoryMembershipCondition.cs
- SqlXml.cs
- CodeExporter.cs
- Bezier.cs
- _IPv4Address.cs
- PeerInvitationResponse.cs
- SkipStoryboardToFill.cs
- LowerCaseStringConverter.cs
- SQLCharsStorage.cs
- ClickablePoint.cs
- UserCancellationException.cs
- EmptyEnumerator.cs
- WebPartDisplayMode.cs
- RightsManagementEncryptedStream.cs
- SafeCryptoHandles.cs
- ConfigXmlAttribute.cs
- controlskin.cs
- ContextStack.cs
- BindToObject.cs
- HttpCookie.cs
- ISessionStateStore.cs
- Content.cs
- BinaryConverter.cs
- SecurityPolicySection.cs
- MergeFailedEvent.cs
- SafeNativeMemoryHandle.cs
- BaseAddressElementCollection.cs
- XmlMapping.cs
- CodeBlockBuilder.cs
- WsdlImporterElement.cs
- StringFormat.cs
- GeometryHitTestParameters.cs
- CreateRefExpr.cs
- AutomationIdentifier.cs
- CapabilitiesUse.cs
- XmlSchemaValidator.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- IProvider.cs
- RemotingSurrogateSelector.cs
- ExpanderAutomationPeer.cs
- COM2ExtendedBrowsingHandler.cs
- TextParagraphCache.cs
- XmlAttribute.cs
- HostedElements.cs
- baseaxisquery.cs
- SmiTypedGetterSetter.cs
- SamlSubject.cs
- CodeDefaultValueExpression.cs
- KeyFrames.cs
- SoapTypeAttribute.cs
- DataSourceGeneratorException.cs
- XmlRawWriter.cs
- StorageTypeMapping.cs
- ConnectionPoint.cs
- ConnectionString.cs
- _SslState.cs
- X509ChainElement.cs
- SqlDuplicator.cs
- ExpressionWriter.cs
- EntityDataSourceValidationException.cs
- HwndSubclass.cs
- UserControlCodeDomTreeGenerator.cs
- XamlReaderHelper.cs
- Internal.cs
- FilePresentation.cs
- ErrorLog.cs
- DbParameterCollectionHelper.cs
- DataSpaceManager.cs
- TcpTransportManager.cs
- DeleteWorkflowOwnerCommand.cs
- AutomationPatternInfo.cs
- RemotingException.cs
- PlatformCulture.cs
- COM2Properties.cs
- Model3DGroup.cs
- FixedFindEngine.cs
- DrawingContextDrawingContextWalker.cs
- MetadataArtifactLoaderCompositeResource.cs
- BlobPersonalizationState.cs
- ArgumentNullException.cs
- OrthographicCamera.cs
- XmlILOptimizerVisitor.cs
- Logging.cs
- PeerApplicationLaunchInfo.cs
- QilCloneVisitor.cs
- Int32.cs
- LabelTarget.cs
- MetadataPropertyCollection.cs
- AuthenticationServiceManager.cs
- ColorAnimationBase.cs
- QilStrConcatenator.cs