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
- ProxyManager.cs
- DependencyProperty.cs
- FontWeightConverter.cs
- shaperfactoryquerycacheentry.cs
- SymLanguageType.cs
- _Win32.cs
- RowUpdatingEventArgs.cs
- FolderLevelBuildProvider.cs
- ComPlusDiagnosticTraceSchemas.cs
- RandomNumberGenerator.cs
- WizardForm.cs
- SignatureToken.cs
- RemotingSurrogateSelector.cs
- SyndicationSerializer.cs
- HyperLinkStyle.cs
- RtfToXamlLexer.cs
- COM2PropertyPageUITypeConverter.cs
- MimeParameter.cs
- Maps.cs
- MessageFilter.cs
- UnsafeNativeMethods.cs
- LocalizableAttribute.cs
- BooleanProjectedSlot.cs
- SecurityManager.cs
- SqlTopReducer.cs
- DataGridViewIntLinkedList.cs
- SpeechEvent.cs
- TabRenderer.cs
- InputDevice.cs
- ScriptHandlerFactory.cs
- EmptyStringExpandableObjectConverter.cs
- PerformanceCounterNameAttribute.cs
- util.cs
- TableLayoutPanel.cs
- Helper.cs
- ContainerSelectorBehavior.cs
- RedirectionProxy.cs
- EventLogPermissionEntry.cs
- ReadOnlyDictionary.cs
- TextTreeText.cs
- MetadataCache.cs
- dbdatarecord.cs
- ContentTextAutomationPeer.cs
- GenericNameHandler.cs
- QueryLifecycle.cs
- StringToken.cs
- ControlBuilder.cs
- BufferedGraphics.cs
- SystemEvents.cs
- MonikerSyntaxException.cs
- _AcceptOverlappedAsyncResult.cs
- MachineKeyConverter.cs
- DataGridViewBindingCompleteEventArgs.cs
- HtmlContainerControl.cs
- AssemblyInfo.cs
- RegionData.cs
- AnonymousIdentificationModule.cs
- RawStylusInputCustomData.cs
- StrongNameUtility.cs
- SmiEventSink.cs
- BulletDecorator.cs
- SQLInt32Storage.cs
- TextEditorCopyPaste.cs
- TileModeValidation.cs
- SafeNativeMethods.cs
- CommonObjectSecurity.cs
- DeflateStream.cs
- WebControl.cs
- CodeDirectionExpression.cs
- CheckBoxField.cs
- BamlLocalizer.cs
- SqlFunctionAttribute.cs
- RawTextInputReport.cs
- UserCancellationException.cs
- ObjectStateEntry.cs
- OracleDataReader.cs
- DBConnection.cs
- AttributeXamlType.cs
- DesignerSerializationOptionsAttribute.cs
- ReachDocumentReferenceCollectionSerializer.cs
- messageonlyhwndwrapper.cs
- SpecularMaterial.cs
- AnnotationResourceCollection.cs
- TypeGeneratedEventArgs.cs
- LeftCellWrapper.cs
- HighlightComponent.cs
- CacheChildrenQuery.cs
- EncoderBestFitFallback.cs
- HTTPNotFoundHandler.cs
- ScriptResourceHandler.cs
- NativeBuffer.cs
- Camera.cs
- Mappings.cs
- Trigger.cs
- OneOfConst.cs
- GlobalizationSection.cs
- CqlLexerHelpers.cs
- CAGDesigner.cs
- MessageBuffer.cs
- TerminateDesigner.cs