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
- InvalidOleVariantTypeException.cs
- WsdlImporterElementCollection.cs
- SafeLocalMemHandle.cs
- AccessorTable.cs
- FormViewDeleteEventArgs.cs
- BackgroundWorker.cs
- RsaSecurityKey.cs
- TemplateBindingExtension.cs
- SqlFacetAttribute.cs
- ParameterCollection.cs
- AuthenticationConfig.cs
- BaseHashHelper.cs
- CharKeyFrameCollection.cs
- ColumnResult.cs
- EmptyEnumerable.cs
- ResourceDictionary.cs
- LineServices.cs
- ScopelessEnumAttribute.cs
- Propagator.Evaluator.cs
- ResetableIterator.cs
- BeginStoryboard.cs
- PoisonMessageException.cs
- GetMemberBinder.cs
- Tile.cs
- documentsequencetextcontainer.cs
- Win32.cs
- ManipulationCompletedEventArgs.cs
- SyndicationDeserializer.cs
- WindowsEditBoxRange.cs
- ExpressionConverter.cs
- MultiDataTrigger.cs
- DataServiceRequest.cs
- DbDataSourceEnumerator.cs
- Rect3D.cs
- TreeWalkHelper.cs
- TargetFrameworkAttribute.cs
- ContextBase.cs
- LongCountAggregationOperator.cs
- FrameSecurityDescriptor.cs
- RegistrationServices.cs
- TripleDESCryptoServiceProvider.cs
- SkinIDTypeConverter.cs
- ContainerUIElement3D.cs
- ListSortDescription.cs
- Selection.cs
- TranslateTransform.cs
- FormViewUpdateEventArgs.cs
- WorkflowEnvironment.cs
- StyleXamlTreeBuilder.cs
- DataSetMappper.cs
- PeerObject.cs
- ParserStack.cs
- GridPattern.cs
- ModuleBuilderData.cs
- UrlMappingsSection.cs
- RoutingConfiguration.cs
- StackBuilderSink.cs
- FixedFlowMap.cs
- SurrogateSelector.cs
- WorkflowDataContext.cs
- SQlBooleanStorage.cs
- CodeConstructor.cs
- NonBatchDirectoryCompiler.cs
- Binding.cs
- DataGridViewDataConnection.cs
- XPathEmptyIterator.cs
- ExpressionBuilder.cs
- DocumentPageHost.cs
- OpacityConverter.cs
- OrthographicCamera.cs
- AnnotationResource.cs
- WebContext.cs
- ProviderConnectionPoint.cs
- DataGridItem.cs
- WizardPanel.cs
- MemoryMappedFileSecurity.cs
- ToolBarOverflowPanel.cs
- XmlSchemaAttributeGroupRef.cs
- SelectionItemPattern.cs
- SystemWebCachingSectionGroup.cs
- FixedPageStructure.cs
- SharedPerformanceCounter.cs
- Select.cs
- UpdateTranslator.cs
- CodeTryCatchFinallyStatement.cs
- CompleteWizardStep.cs
- DataColumnMappingCollection.cs
- FontStyleConverter.cs
- ValidationException.cs
- SerializationHelper.cs
- SoapDocumentServiceAttribute.cs
- FormViewDeleteEventArgs.cs
- CultureTable.cs
- XmlSchemaSimpleType.cs
- KeySpline.cs
- FilteredDataSetHelper.cs
- LineInfo.cs
- TileBrush.cs
- XmlSchemaSimpleContentExtension.cs
- SqlDataReaderSmi.cs