Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / QualifiedCellIdBoolean.cs / 1305376 / 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
- MgmtConfigurationRecord.cs
- BigInt.cs
- GridItem.cs
- RelativeSource.cs
- DataConnectionHelper.cs
- Timer.cs
- EntityObject.cs
- ListViewItemMouseHoverEvent.cs
- CodeThrowExceptionStatement.cs
- LineSegment.cs
- TdsParserStaticMethods.cs
- BinaryNode.cs
- ErrorRuntimeConfig.cs
- DomainLiteralReader.cs
- NamedElement.cs
- Math.cs
- X509SecurityTokenAuthenticator.cs
- WindowsScroll.cs
- Base64Encoder.cs
- TableLayoutStyleCollection.cs
- ConnectionManagementElementCollection.cs
- ToolboxDataAttribute.cs
- FactoryRecord.cs
- RoutedEventHandlerInfo.cs
- EntityDataSourceEntityTypeFilterItem.cs
- ServicesUtilities.cs
- InkCanvasSelection.cs
- BorderSidesEditor.cs
- ChildTable.cs
- dsa.cs
- DesignerDataRelationship.cs
- XmlElementAttribute.cs
- HandlerWithFactory.cs
- DeviceSpecificDialogCachedState.cs
- WebExceptionStatus.cs
- XmlEntityReference.cs
- ChineseLunisolarCalendar.cs
- RotateTransform3D.cs
- GeometryHitTestResult.cs
- ContextMenuService.cs
- CodeIterationStatement.cs
- Point3D.cs
- TreeBuilderBamlTranslator.cs
- MasterPage.cs
- SynchronizedReadOnlyCollection.cs
- EmptyEnumerator.cs
- LogReservationCollection.cs
- DbConnectionPoolGroupProviderInfo.cs
- ProfileGroupSettings.cs
- SortQuery.cs
- rsa.cs
- ClientSideQueueItem.cs
- TrackingStringDictionary.cs
- GeneralTransform.cs
- WindowsFormsHost.cs
- LookupBindingPropertiesAttribute.cs
- TraceLevelStore.cs
- UnsafeNativeMethods.cs
- DocumentViewerBaseAutomationPeer.cs
- CompilationPass2Task.cs
- ProviderIncompatibleException.cs
- DataGridViewCellValidatingEventArgs.cs
- QuaternionKeyFrameCollection.cs
- OlePropertyStructs.cs
- StoreItemCollection.Loader.cs
- GeneralTransform3D.cs
- CodeExpressionStatement.cs
- KnowledgeBase.cs
- XmlCollation.cs
- QueueException.cs
- COM2Properties.cs
- FocusTracker.cs
- ReplyChannelBinder.cs
- RemotingHelper.cs
- PeerTransportSecuritySettings.cs
- WorkItem.cs
- LicenseContext.cs
- DeviceContext2.cs
- ControlValuePropertyAttribute.cs
- ConfigurationFileMap.cs
- MonthCalendarDesigner.cs
- DecimalStorage.cs
- DrawingVisualDrawingContext.cs
- MsmqMessage.cs
- shaper.cs
- HMACSHA384.cs
- MarkupExtensionParser.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ServicePointManagerElement.cs
- EmissiveMaterial.cs
- ClrPerspective.cs
- PropertyCondition.cs
- Typeface.cs
- ClonableStack.cs
- NegationPusher.cs
- DecoderBestFitFallback.cs
- SignedInfo.cs
- HandleValueEditor.cs
- IPHostEntry.cs
- FloaterParaClient.cs