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
- DataSourceXmlElementAttribute.cs
- GPRECTF.cs
- ControlDesigner.cs
- ErrorWebPart.cs
- UnauthorizedWebPart.cs
- SoapSchemaMember.cs
- ScriptResourceInfo.cs
- CaseExpr.cs
- StructuredTypeEmitter.cs
- AstTree.cs
- DataGridViewSelectedRowCollection.cs
- XmlSchema.cs
- AutomationPeer.cs
- DataKey.cs
- ExecutionPropertyManager.cs
- CatalogZoneBase.cs
- GroupStyle.cs
- ObfuscateAssemblyAttribute.cs
- ExpressionVisitorHelpers.cs
- TextRenderer.cs
- SqlCaseSimplifier.cs
- Win32Exception.cs
- ScriptRegistrationManager.cs
- WebContext.cs
- SharedUtils.cs
- ContractComponent.cs
- DbCommandDefinition.cs
- SecurityTokenAttachmentMode.cs
- ColorInterpolationModeValidation.cs
- Socket.cs
- Unit.cs
- HtmlInputReset.cs
- Misc.cs
- EvidenceTypeDescriptor.cs
- XmlSchemaExternal.cs
- FontConverter.cs
- DebugViewWriter.cs
- ObjectDataSourceDisposingEventArgs.cs
- InlineCollection.cs
- ToolboxComponentsCreatedEventArgs.cs
- TreeNodeEventArgs.cs
- SystemKeyConverter.cs
- DesignerTextViewAdapter.cs
- XmlCountingReader.cs
- TypeGeneratedEventArgs.cs
- KnownBoxes.cs
- ResXResourceReader.cs
- lengthconverter.cs
- XmlNotation.cs
- TextClipboardData.cs
- DataGridViewColumnEventArgs.cs
- DragDrop.cs
- DefaultCommandExtensionCallback.cs
- ModelMemberCollection.cs
- ListenerServiceInstallComponent.cs
- AccessDataSource.cs
- XmlTextReaderImplHelpers.cs
- URIFormatException.cs
- TokenBasedSetEnumerator.cs
- KnownIds.cs
- StateDesigner.cs
- _DomainName.cs
- ScriptManager.cs
- SystemSounds.cs
- ViewGenerator.cs
- XmlSerializerSection.cs
- MatrixConverter.cs
- OleDbRowUpdatingEvent.cs
- COM2Enum.cs
- InitializerFacet.cs
- CounterSetInstanceCounterDataSet.cs
- CustomTrackingQuery.cs
- ProfilePropertyMetadata.cs
- SecureConversationServiceCredential.cs
- XmlUrlResolver.cs
- SQLBinary.cs
- TabletDevice.cs
- CodeArgumentReferenceExpression.cs
- ResourceDescriptionAttribute.cs
- GradientBrush.cs
- DataServiceSaveChangesEventArgs.cs
- XPathExpr.cs
- IPGlobalProperties.cs
- XmlLanguage.cs
- PerformanceCounterCategory.cs
- HttpModulesSection.cs
- OdbcDataAdapter.cs
- SqlRemoveConstantOrderBy.cs
- WorkflowControlClient.cs
- XmlSchemaExternal.cs
- ListViewTableCell.cs
- InteropAutomationProvider.cs
- FileDialogPermission.cs
- CompareValidator.cs
- AndMessageFilter.cs
- FormsAuthenticationUserCollection.cs
- InputLangChangeEvent.cs
- UserControl.cs
- SamlAttribute.cs
- FlowDocumentScrollViewer.cs