Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ProtectedConfiguration.cs
- Formatter.cs
- RequestBringIntoViewEventArgs.cs
- ImageField.cs
- QueryValue.cs
- ConfigXmlSignificantWhitespace.cs
- fixedPageContentExtractor.cs
- MethodBody.cs
- UIElementCollection.cs
- BitmapMetadataEnumerator.cs
- Control.cs
- GridViewColumnCollection.cs
- Point3DCollection.cs
- EntityTransaction.cs
- LinqDataSourceSelectEventArgs.cs
- GZipDecoder.cs
- ToolStripItemCollection.cs
- ExpandCollapseProviderWrapper.cs
- TextDecorationCollectionConverter.cs
- Int16.cs
- SlipBehavior.cs
- MembershipValidatePasswordEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- MessageHeaderException.cs
- DataBoundControlHelper.cs
- DataBoundControlHelper.cs
- GC.cs
- SimplePropertyEntry.cs
- TextTreeDeleteContentUndoUnit.cs
- CultureInfoConverter.cs
- SynchronousSendBindingElement.cs
- RewritingSimplifier.cs
- WaveHeader.cs
- RoleGroupCollection.cs
- COAUTHIDENTITY.cs
- IdentityReference.cs
- ScalarOps.cs
- IgnorePropertiesAttribute.cs
- HotSpot.cs
- RunClient.cs
- EventLogPermissionAttribute.cs
- AspCompat.cs
- PersonalizableAttribute.cs
- DependencySource.cs
- Annotation.cs
- Rights.cs
- DesignerTextWriter.cs
- XmlQualifiedName.cs
- JsonSerializer.cs
- ByteAnimationBase.cs
- ToolStripArrowRenderEventArgs.cs
- EqualityComparer.cs
- SqlTopReducer.cs
- Publisher.cs
- DefinitionUpdate.cs
- Transactions.cs
- CustomAttributeBuilder.cs
- QuaternionAnimationUsingKeyFrames.cs
- AspCompat.cs
- StringFormat.cs
- XmlSchemaParticle.cs
- RtfControls.cs
- InputReportEventArgs.cs
- ConcurrentDictionary.cs
- TemplateFactory.cs
- Converter.cs
- DNS.cs
- AutomationFocusChangedEventArgs.cs
- HostDesigntimeLicenseContext.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- WebGetAttribute.cs
- SqlUtil.cs
- PenContext.cs
- PersistChildrenAttribute.cs
- DataGridColumnCollection.cs
- DrawingGroupDrawingContext.cs
- _UriSyntax.cs
- TextDecorationCollection.cs
- Visual3D.cs
- HtmlImage.cs
- SecureEnvironment.cs
- ConnectionStringSettings.cs
- TileBrush.cs
- updatecommandorderer.cs
- StructuredTypeInfo.cs
- StickyNote.cs
- Calendar.cs
- HttpResponseHeader.cs
- DefaultMemberAttribute.cs
- NamedPipeTransportElement.cs
- XPathItem.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Transform3DCollection.cs
- filewebrequest.cs
- NamespaceCollection.cs
- ConfigurationManagerInternalFactory.cs
- TraceHandler.cs
- ChangeTracker.cs
- CodeArrayCreateExpression.cs
- CopyNamespacesAction.cs