Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DirectoryLocalQuery.cs
- ObjectParameter.cs
- XmlSchemaFacet.cs
- IntegerFacetDescriptionElement.cs
- TrustLevelCollection.cs
- Item.cs
- InputProcessorProfiles.cs
- TypeForwardedFromAttribute.cs
- UIElementParagraph.cs
- QuaternionRotation3D.cs
- ButtonBase.cs
- DataGridViewCellFormattingEventArgs.cs
- RewritingValidator.cs
- DocumentOrderQuery.cs
- RenderOptions.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- AddInDeploymentState.cs
- Rect3D.cs
- XamlTemplateSerializer.cs
- TargetException.cs
- StylusEditingBehavior.cs
- StrongBox.cs
- HttpRequest.cs
- RSAOAEPKeyExchangeFormatter.cs
- CacheVirtualItemsEvent.cs
- MemberPath.cs
- XmlCodeExporter.cs
- ClonableStack.cs
- Html32TextWriter.cs
- ProcessHostConfigUtils.cs
- CompositeDataBoundControl.cs
- LineBreak.cs
- TreeViewCancelEvent.cs
- BitmapVisualManager.cs
- _ContextAwareResult.cs
- SynchronizedInputHelper.cs
- FactoryId.cs
- ResourcesBuildProvider.cs
- DockProviderWrapper.cs
- HttpApplicationStateWrapper.cs
- ManifestResourceInfo.cs
- URLString.cs
- RadioButton.cs
- SingleResultAttribute.cs
- AttachedPropertyInfo.cs
- AsyncMethodInvoker.cs
- DefaultProxySection.cs
- EmbeddedMailObject.cs
- XmlCustomFormatter.cs
- HtmlUtf8RawTextWriter.cs
- InputLanguageSource.cs
- ServiceNameElementCollection.cs
- ClipboardProcessor.cs
- SHA384Managed.cs
- DataGridViewImageColumn.cs
- TableLayoutPanelResizeGlyph.cs
- DetailsViewCommandEventArgs.cs
- _HTTPDateParse.cs
- ActiveXHost.cs
- Queue.cs
- OdbcConnectionString.cs
- CommandManager.cs
- MiniAssembly.cs
- XpsPackagingPolicy.cs
- Deflater.cs
- DiscoveryClientProtocol.cs
- AlphabetConverter.cs
- TextReader.cs
- XComponentModel.cs
- CompareInfo.cs
- Converter.cs
- XmlReader.cs
- PeerNameRecord.cs
- ProcessInputEventArgs.cs
- WinCategoryAttribute.cs
- SqlBulkCopy.cs
- WebPartConnectionsCancelEventArgs.cs
- TextServicesLoader.cs
- EncryptedData.cs
- StringFormat.cs
- ArrangedElement.cs
- SimpleApplicationHost.cs
- MessageBox.cs
- FileDetails.cs
- SqlSelectStatement.cs
- ImageCodecInfoPrivate.cs
- LongValidator.cs
- FormsAuthenticationModule.cs
- TransactionContextValidator.cs
- documentation.cs
- FontStyleConverter.cs
- DesignerEditorPartChrome.cs
- ISCIIEncoding.cs
- DataGridRow.cs
- HttpWriter.cs
- WebExceptionStatus.cs
- SqlCacheDependencyDatabaseCollection.cs
- PerformanceCountersElement.cs
- FunctionOverloadResolver.cs
- XsltCompileContext.cs