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
- TypeForwardedToAttribute.cs
- safelink.cs
- IncrementalReadDecoders.cs
- ProfileGroupSettingsCollection.cs
- DataGridViewRow.cs
- OdbcRowUpdatingEvent.cs
- DistinctQueryOperator.cs
- ArglessEventHandlerProxy.cs
- StandardToolWindows.cs
- SizeAnimationUsingKeyFrames.cs
- ParseNumbers.cs
- BinHexDecoder.cs
- VisualBasic.cs
- DataControlImageButton.cs
- BufferBuilder.cs
- Serializer.cs
- InvokePatternIdentifiers.cs
- _IPv6Address.cs
- Pkcs7Signer.cs
- SimpleApplicationHost.cs
- HostDesigntimeLicenseContext.cs
- LOSFormatter.cs
- ProfileSection.cs
- SqlDependencyListener.cs
- ListViewItem.cs
- AnnotationObservableCollection.cs
- SendingRequestEventArgs.cs
- DesignTimeTemplateParser.cs
- FlowNode.cs
- StringExpressionSet.cs
- RC2CryptoServiceProvider.cs
- CodeDirectoryCompiler.cs
- SoapObjectWriter.cs
- OleCmdHelper.cs
- ReflectPropertyDescriptor.cs
- connectionpool.cs
- ProfileEventArgs.cs
- KeySplineConverter.cs
- BitmapInitialize.cs
- CssStyleCollection.cs
- IndexOutOfRangeException.cs
- PreservationFileReader.cs
- ColumnWidthChangedEvent.cs
- SuppressMessageAttribute.cs
- OledbConnectionStringbuilder.cs
- Command.cs
- LinearGradientBrush.cs
- DesignTimeType.cs
- SymLanguageType.cs
- HttpFileCollectionWrapper.cs
- TextLineBreak.cs
- RawStylusInputCustomData.cs
- SrgsToken.cs
- RightsManagementEncryptedStream.cs
- ButtonField.cs
- DesignerTransactionCloseEvent.cs
- Visual.cs
- ObjectNavigationPropertyMapping.cs
- RemoteEndpointMessageProperty.cs
- SynchronizedDispatch.cs
- MasterPageBuildProvider.cs
- ConvertEvent.cs
- ResolveNameEventArgs.cs
- ProfileSection.cs
- DataSourceBooleanViewSchemaConverter.cs
- TraceEventCache.cs
- MapPathBasedVirtualPathProvider.cs
- TranslateTransform3D.cs
- ColumnCollection.cs
- DataGridCaption.cs
- BinaryObjectInfo.cs
- MapPathBasedVirtualPathProvider.cs
- StringWriter.cs
- Propagator.cs
- CodeTypeReferenceExpression.cs
- OleDbEnumerator.cs
- MultipleViewProviderWrapper.cs
- XamlStyleSerializer.cs
- ParseHttpDate.cs
- SHA1CryptoServiceProvider.cs
- QueryConverter.cs
- DbResourceAllocator.cs
- SqlErrorCollection.cs
- InputLangChangeRequestEvent.cs
- NestPullup.cs
- DesignOnlyAttribute.cs
- PropertyValidationContext.cs
- Utility.cs
- ForEachDesigner.xaml.cs
- NullNotAllowedCollection.cs
- Screen.cs
- CollectionChangedEventManager.cs
- PersonalizationProviderCollection.cs
- FontStretch.cs
- GeneratedView.cs
- SchemaInfo.cs
- NonParentingControl.cs
- APCustomTypeDescriptor.cs
- ModelFunction.cs
- AttributeQuery.cs