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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompModSwitches.cs
- SecurityHelper.cs
- BinaryMethodMessage.cs
- TraceLog.cs
- ArglessEventHandlerProxy.cs
- XmlSchemaInferenceException.cs
- SimpleWebHandlerParser.cs
- MimeBasePart.cs
- AmbientLight.cs
- TypeDescriptor.cs
- NativeMethods.cs
- WebPartManager.cs
- GenericPrincipal.cs
- BufferedReceiveManager.cs
- CaseInsensitiveComparer.cs
- ScaleTransform3D.cs
- PerfCounters.cs
- IODescriptionAttribute.cs
- MultilineStringConverter.cs
- HyperLinkColumn.cs
- DisplayNameAttribute.cs
- cookiecontainer.cs
- XamlReader.cs
- PasswordBox.cs
- PageContent.cs
- KeyPullup.cs
- URLAttribute.cs
- GenericRootAutomationPeer.cs
- TreeWalker.cs
- SecurityPolicySection.cs
- GridViewUpdateEventArgs.cs
- WebMessageFormatHelper.cs
- IdentityReference.cs
- SchemaType.cs
- LinqDataSourceView.cs
- InkCanvasFeedbackAdorner.cs
- CookielessHelper.cs
- QuestionEventArgs.cs
- Wow64ConfigurationLoader.cs
- TemplateBuilder.cs
- TypographyProperties.cs
- FormViewDesigner.cs
- BaseResourcesBuildProvider.cs
- FacetDescription.cs
- BodyGlyph.cs
- MaterializeFromAtom.cs
- PropertyGridCommands.cs
- DockProviderWrapper.cs
- StrokeNodeOperations2.cs
- TypeUtil.cs
- Container.cs
- DrawingImage.cs
- OdbcCommand.cs
- TemplateLookupAction.cs
- FileDialog_Vista.cs
- ReachUIElementCollectionSerializer.cs
- TextEndOfLine.cs
- TemplateColumn.cs
- TraceContextRecord.cs
- GZipStream.cs
- XmlAttributeAttribute.cs
- SelectedGridItemChangedEvent.cs
- ValueTypeFieldReference.cs
- FrameworkPropertyMetadata.cs
- MenuItemStyleCollection.cs
- ADRole.cs
- SurrogateSelector.cs
- SourceFilter.cs
- SoapInteropTypes.cs
- SymbolType.cs
- ToolCreatedEventArgs.cs
- VariableAction.cs
- CaseInsensitiveComparer.cs
- TableLayoutPanelCodeDomSerializer.cs
- BindingRestrictions.cs
- WindowsRegion.cs
- BitStream.cs
- EpmContentSerializer.cs
- InstanceDescriptor.cs
- PropertyGroupDescription.cs
- PngBitmapEncoder.cs
- LogStore.cs
- ListViewGroupItemCollection.cs
- IndexedWhereQueryOperator.cs
- Rotation3D.cs
- relpropertyhelper.cs
- ConfigXmlElement.cs
- SimpleType.cs
- Deflater.cs
- OperationGenerator.cs
- TextSelectionProcessor.cs
- ContextStack.cs
- XmlException.cs
- XmlTextWriter.cs
- mactripleDES.cs
- ICollection.cs
- Parallel.cs
- ArgumentException.cs
- ByteStreamGeometryContext.cs
- ProcessHostMapPath.cs