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 / MemberMaps.cs / 1 / 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 Constructors internal MemberMaps(SchemaContext schemaContext, MemberPathMapBase 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_schemaContext = schemaContext; } #endregion #region Fields private MemberPathMapBase m_projectedSlotMap; private MemberDomainMap m_queryDomainMap; private MemberDomainMap m_updateDomainMap; private SchemaContext m_schemaContext; #endregion #region Properties internal MemberPathMapBase 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_schemaContext.ViewTarget == ViewTarget.QueryView? m_updateDomainMap:m_queryDomainMap; } } internal MemberDomainMap LeftDomainMap { get { return m_schemaContext.ViewTarget == ViewTarget.QueryView? m_queryDomainMap: m_updateDomainMap; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// 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 Constructors internal MemberMaps(SchemaContext schemaContext, MemberPathMapBase 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_schemaContext = schemaContext; } #endregion #region Fields private MemberPathMapBase m_projectedSlotMap; private MemberDomainMap m_queryDomainMap; private MemberDomainMap m_updateDomainMap; private SchemaContext m_schemaContext; #endregion #region Properties internal MemberPathMapBase 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_schemaContext.ViewTarget == ViewTarget.QueryView? m_updateDomainMap:m_queryDomainMap; } } internal MemberDomainMap LeftDomainMap { get { return m_schemaContext.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
- RecipientIdentity.cs
- SqlXmlStorage.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ConnectionPoint.cs
- SequentialOutput.cs
- ServiceReference.cs
- FileAuthorizationModule.cs
- PtsCache.cs
- FileSystemInfo.cs
- FixUp.cs
- ThreadStaticAttribute.cs
- ConnectionPoolManager.cs
- DownloadProgressEventArgs.cs
- AssemblySettingAttributes.cs
- Byte.cs
- DbMetaDataCollectionNames.cs
- ValidationErrorEventArgs.cs
- ReturnEventArgs.cs
- AsymmetricAlgorithm.cs
- BitVector32.cs
- AdapterSwitches.cs
- SqlServer2KCompatibilityAnnotation.cs
- ImageAttributes.cs
- DataGridViewAdvancedBorderStyle.cs
- TreeWalkHelper.cs
- Win32Native.cs
- ProgressBarHighlightConverter.cs
- SettingsPropertyNotFoundException.cs
- WebException.cs
- EventMap.cs
- TemplateColumn.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ProofTokenCryptoHandle.cs
- ClusterSafeNativeMethods.cs
- SchemaElementDecl.cs
- SvcMapFile.cs
- Encoder.cs
- ConsumerConnectionPoint.cs
- WebHeaderCollection.cs
- ToolStripItemEventArgs.cs
- HtmlInputControl.cs
- ButtonChrome.cs
- ScriptServiceAttribute.cs
- ApplicationSecurityInfo.cs
- RunWorkerCompletedEventArgs.cs
- TaiwanCalendar.cs
- WorkflowPersistenceContext.cs
- TextEditorCharacters.cs
- WebPartVerbCollection.cs
- TreeView.cs
- IteratorFilter.cs
- SqlDataSourceFilteringEventArgs.cs
- WebPartDescriptionCollection.cs
- Control.cs
- RegexNode.cs
- ConfigXmlSignificantWhitespace.cs
- EncryptedPackageFilter.cs
- DocumentSequence.cs
- ProcessThread.cs
- RenamedEventArgs.cs
- cookiecollection.cs
- Int32KeyFrameCollection.cs
- KerberosSecurityTokenAuthenticator.cs
- TypeInitializationException.cs
- MenuBase.cs
- SafeIUnknown.cs
- NativeMethods.cs
- RolePrincipal.cs
- TemplateParser.cs
- FileCodeGroup.cs
- SystemThemeKey.cs
- MonitoringDescriptionAttribute.cs
- FontUnitConverter.cs
- EdmFunction.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ThreadSafeMessageFilterTable.cs
- DataGridLengthConverter.cs
- CorrelationManager.cs
- HandleCollector.cs
- Assert.cs
- BoolExpression.cs
- CodeDomConfigurationHandler.cs
- ProcessStartInfo.cs
- HierarchicalDataSourceIDConverter.cs
- KeyEvent.cs
- ApplicationId.cs
- SqlDependencyListener.cs
- ActivityCodeDomReferenceService.cs
- EmptyEnumerable.cs
- Typography.cs
- AutomationAttributeInfo.cs
- MessageCredentialType.cs
- StringAnimationUsingKeyFrames.cs
- _ConnectOverlappedAsyncResult.cs
- CultureMapper.cs
- AvTrace.cs
- SymbolEqualComparer.cs
- PeerNameRecord.cs
- MetadataResolver.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs