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
- SemanticBasicElement.cs
- Splitter.cs
- TypeConverterValueSerializer.cs
- DESCryptoServiceProvider.cs
- SaveFileDialog.cs
- RuleSetReference.cs
- SetStoryboardSpeedRatio.cs
- SettingsProperty.cs
- BoundField.cs
- CryptoApi.cs
- Blend.cs
- TrustSection.cs
- Attribute.cs
- GPRECTF.cs
- DataMisalignedException.cs
- CodeVariableDeclarationStatement.cs
- DataContractSerializerSection.cs
- GeneralTransform3DGroup.cs
- DoubleIndependentAnimationStorage.cs
- MobileCapabilities.cs
- RedirectionProxy.cs
- ObjRef.cs
- ObjectContext.cs
- SByteConverter.cs
- XmlSchemaExporter.cs
- SignedXml.cs
- XComponentModel.cs
- ContentPlaceHolderDesigner.cs
- SqlWriter.cs
- ConfigXmlSignificantWhitespace.cs
- ToolStripCodeDomSerializer.cs
- DescriptionAttribute.cs
- SqlFunctionAttribute.cs
- SQLString.cs
- Vector3DCollectionConverter.cs
- UITypeEditor.cs
- Mappings.cs
- Expression.cs
- JavaScriptObjectDeserializer.cs
- ToolTipAutomationPeer.cs
- SchemaContext.cs
- ExpressionLexer.cs
- SafeMarshalContext.cs
- ObjectHandle.cs
- DecryptedHeader.cs
- RbTree.cs
- Configuration.cs
- Table.cs
- GeometryHitTestResult.cs
- LayoutDump.cs
- XPathException.cs
- CustomCredentialPolicy.cs
- TextServicesProperty.cs
- ADConnectionHelper.cs
- FunctionParameter.cs
- TextStore.cs
- RepeatInfo.cs
- InputReferenceExpression.cs
- OracleTransaction.cs
- CmsInterop.cs
- OracleDataAdapter.cs
- SqlWriter.cs
- DynamicPropertyReader.cs
- EnterpriseServicesHelper.cs
- Animatable.cs
- WebServiceBindingAttribute.cs
- XmlSchemaSimpleContentRestriction.cs
- XmlTextReaderImpl.cs
- JavaScriptSerializer.cs
- DynamicILGenerator.cs
- CellNormalizer.cs
- FixedStringLookup.cs
- RouteParameter.cs
- CacheDependency.cs
- ActivityDesignerResources.cs
- Win32Native.cs
- DockProviderWrapper.cs
- Point3DAnimationBase.cs
- Symbol.cs
- SqlInternalConnectionTds.cs
- DataServiceProcessingPipeline.cs
- StandardBindingReliableSessionElement.cs
- EdmValidator.cs
- CodeSubDirectory.cs
- SecurityPermission.cs
- ResolveNameEventArgs.cs
- WebResourceAttribute.cs
- EntityRecordInfo.cs
- ExpressionCopier.cs
- OperatorExpressions.cs
- GeometryModel3D.cs
- PopupEventArgs.cs
- Axis.cs
- TimeoutException.cs
- TabRenderer.cs
- LocatorBase.cs
- ControlBindingsCollection.cs
- GifBitmapEncoder.cs
- RijndaelManagedTransform.cs
- SplitContainer.cs