Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / MemberMaps.cs / 1305376 / MemberMaps.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Diagnostics; namespace System.Data.Mapping.ViewGeneration.Structures { // This class manages the different maps used in the view generation // process. These maps keep track of indexes of memberpaths, domains of // member paths, etc internal class MemberMaps { #region Fields private MemberProjectionIndex m_projectedSlotMap; private MemberDomainMap m_queryDomainMap; private MemberDomainMap m_updateDomainMap; private ViewTarget m_viewTarget; #endregion #region Constructors internal MemberMaps(ViewTarget viewTarget, MemberProjectionIndex projectedSlotMap, MemberDomainMap queryDomainMap, MemberDomainMap updateDomainMap) { m_projectedSlotMap = projectedSlotMap; m_queryDomainMap = queryDomainMap; m_updateDomainMap = updateDomainMap; Debug.Assert(m_queryDomainMap != null); Debug.Assert(m_updateDomainMap != null); Debug.Assert(m_projectedSlotMap != null); m_viewTarget = viewTarget; } #endregion #region Properties internal MemberProjectionIndex ProjectedSlotMap { get { return m_projectedSlotMap; } } internal MemberDomainMap QueryDomainMap { get { return m_queryDomainMap; } } internal MemberDomainMap UpdateDomainMap { get { return m_updateDomainMap; } } internal MemberDomainMap RightDomainMap { get { return m_viewTarget == ViewTarget.QueryView ? m_updateDomainMap : m_queryDomainMap; } } internal MemberDomainMap LeftDomainMap { get { return m_viewTarget == ViewTarget.QueryView ? m_queryDomainMap : m_updateDomainMap; } } #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
- MissingMethodException.cs
- DynamicRendererThreadManager.cs
- RemotingException.cs
- SqlConnectionHelper.cs
- LoadedEvent.cs
- smtpconnection.cs
- GroupBox.cs
- DotExpr.cs
- HttpResponse.cs
- CompiledAction.cs
- StickyNoteContentControl.cs
- BinaryNode.cs
- ViewLoader.cs
- BaseParagraph.cs
- OnOperation.cs
- ValuePatternIdentifiers.cs
- XhtmlTextWriter.cs
- PolyQuadraticBezierSegment.cs
- VerificationAttribute.cs
- MenuEventArgs.cs
- SymLanguageType.cs
- TableProvider.cs
- XmlElement.cs
- MaterialGroup.cs
- HealthMonitoringSectionHelper.cs
- GPPOINTF.cs
- XmlSchemaGroup.cs
- SmiSettersStream.cs
- TemplateBamlRecordReader.cs
- UInt16Storage.cs
- RightsManagementInformation.cs
- DataControlField.cs
- StringKeyFrameCollection.cs
- TypefaceMap.cs
- RectangleHotSpot.cs
- SymmetricKeyWrap.cs
- ImageBrush.cs
- CaseStatementSlot.cs
- DeflateEmulationStream.cs
- DataTableMapping.cs
- ChtmlTextWriter.cs
- VirtualPathProvider.cs
- EventLogPermissionHolder.cs
- EntityViewGenerationConstants.cs
- ReturnEventArgs.cs
- CompareInfo.cs
- XPathNavigator.cs
- DataContractSerializerOperationGenerator.cs
- WS2007HttpBindingElement.cs
- Fx.cs
- SequenceDesignerAccessibleObject.cs
- OleDbInfoMessageEvent.cs
- TextPattern.cs
- TextMetrics.cs
- SQLDateTime.cs
- DelegatedStream.cs
- PropertyTab.cs
- ModuleConfigurationInfo.cs
- SocketPermission.cs
- InheritanceContextHelper.cs
- ContentTextAutomationPeer.cs
- WhitespaceRule.cs
- Accessible.cs
- HScrollProperties.cs
- PassportAuthenticationModule.cs
- DocumentPaginator.cs
- Compilation.cs
- DataServiceProviderMethods.cs
- ToolStripSplitStackLayout.cs
- DefaultBinder.cs
- CacheDependency.cs
- ConfigurationElementCollection.cs
- SqlTypeSystemProvider.cs
- Line.cs
- Canonicalizers.cs
- TypeForwardedToAttribute.cs
- OpCellTreeNode.cs
- CompositeTypefaceMetrics.cs
- DrawingBrush.cs
- InputMethod.cs
- SqlDataSourceConfigureFilterForm.cs
- BodyGlyph.cs
- Currency.cs
- ConnectionPoint.cs
- BaseAppDomainProtocolHandler.cs
- MarshalDirectiveException.cs
- DefinitionBase.cs
- BackgroundWorker.cs
- relpropertyhelper.cs
- OutputCacheEntry.cs
- UserNameSecurityTokenAuthenticator.cs
- CompilerTypeWithParams.cs
- WmlTextViewAdapter.cs
- UInt32.cs
- ArrayEditor.cs
- InternalCompensate.cs
- MessageBox.cs
- Transform.cs
- Model3DCollection.cs
- ChannelCacheDefaults.cs