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
- Double.cs
- BamlBinaryReader.cs
- DataGridRelationshipRow.cs
- BindValidationContext.cs
- DiscoveryServerProtocol.cs
- Compiler.cs
- TableLayoutRowStyleCollection.cs
- ScrollItemProviderWrapper.cs
- BindingSource.cs
- GridViewSelectEventArgs.cs
- ServerIdentity.cs
- Attributes.cs
- GlobalizationAssembly.cs
- XmlCodeExporter.cs
- HwndHost.cs
- TreeViewItemAutomationPeer.cs
- OleDbCommand.cs
- BufferedWebEventProvider.cs
- ContentType.cs
- Compilation.cs
- PeerPresenceInfo.cs
- LinearGradientBrush.cs
- AttachedPropertyDescriptor.cs
- TrustManager.cs
- QueryResponse.cs
- DbModificationCommandTree.cs
- HistoryEventArgs.cs
- ComponentResourceKey.cs
- TrustLevel.cs
- RestHandlerFactory.cs
- FocusTracker.cs
- _DisconnectOverlappedAsyncResult.cs
- WebPartDeleteVerb.cs
- Globals.cs
- DispatcherTimer.cs
- TextControlDesigner.cs
- TreeViewHitTestInfo.cs
- Stacktrace.cs
- XamlTypeMapper.cs
- ManipulationVelocities.cs
- DragEventArgs.cs
- DataViewListener.cs
- ExpressionQuoter.cs
- FamilyCollection.cs
- UrlMapping.cs
- MouseEventArgs.cs
- SQLResource.cs
- LoginUtil.cs
- DiagnosticTraceRecords.cs
- QilXmlWriter.cs
- UrlPath.cs
- SerialPinChanges.cs
- XmlSchemaCollection.cs
- BlobPersonalizationState.cs
- CuspData.cs
- SettingsProviderCollection.cs
- SQLSingleStorage.cs
- EventDescriptorCollection.cs
- _SpnDictionary.cs
- XmlNamespaceMapping.cs
- Span.cs
- SatelliteContractVersionAttribute.cs
- SweepDirectionValidation.cs
- Normalizer.cs
- DomNameTable.cs
- ApplyHostConfigurationBehavior.cs
- StylusTip.cs
- HttpResponseMessageProperty.cs
- OleDbException.cs
- Util.cs
- Missing.cs
- HttpDebugHandler.cs
- ResourceManager.cs
- ThumbAutomationPeer.cs
- BitmapMetadataEnumerator.cs
- Comparer.cs
- FillBehavior.cs
- TemplateLookupAction.cs
- PagesSection.cs
- JsonDataContract.cs
- FixedPageProcessor.cs
- PrivilegeNotHeldException.cs
- LabelLiteral.cs
- FontSource.cs
- ServerIdentity.cs
- SmtpException.cs
- UnicastIPAddressInformationCollection.cs
- RegisteredHiddenField.cs
- StructuredType.cs
- SessionParameter.cs
- Update.cs
- QilLoop.cs
- SymLanguageVendor.cs
- SqlUtils.cs
- DocumentCollection.cs
- LinearGradientBrush.cs
- Guid.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- DbMetaDataFactory.cs
- HtmlInputFile.cs