Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / EntityViewContainer.cs / 1305376 / EntityViewContainer.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Data.Common.Utils; using System.Text; namespace System.Data.Mapping { ////// Base class for the type created at design time to store the generated views. /// public abstract class EntityViewContainer { #region Constructors protected EntityViewContainer() { } #endregion #region fields private string m_storedHashOverMappingClosure; // Hash value over the whole Metadata and Mapping closure private string m_storedhashOverAllExtentViews; // Hash value over all the extent views private string m_storededmEntityContainerName; // C side entity container name private string m_storedStoreEntityContainerName; // S side entity container name private int _viewCount; #endregion #region properties ////// Returns the cached dictionary of (ExtentName,EsqlView) /// internal IEnumerable> ExtentViews { get { for (int i = 0; i < ViewCount; i++) { yield return GetViewAt(i); } } } protected abstract System.Collections.Generic.KeyValuePair GetViewAt(int index); [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] public string EdmEntityContainerName { get { return this.m_storededmEntityContainerName; } set { this.m_storededmEntityContainerName = value; } } public string StoreEntityContainerName { get { return this.m_storedStoreEntityContainerName; } set { this.m_storedStoreEntityContainerName = value; } } public string HashOverMappingClosure { get { return this.m_storedHashOverMappingClosure; } set { this.m_storedHashOverMappingClosure = value; } } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "OverAll")] public string HashOverAllExtentViews { get { return this.m_storedhashOverAllExtentViews; } set { this.m_storedhashOverAllExtentViews = value; } } public int ViewCount { get { return _viewCount; } protected set { _viewCount = value; } } #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
- BitmapCache.cs
- basenumberconverter.cs
- DbConnectionPoolCounters.cs
- XmlWellformedWriter.cs
- ToolBarPanel.cs
- ToggleButtonAutomationPeer.cs
- DBSchemaRow.cs
- ExpanderAutomationPeer.cs
- MimeWriter.cs
- RemoteWebConfigurationHost.cs
- WorkflowInstance.cs
- IdentitySection.cs
- ToolboxControl.cs
- BufferedOutputStream.cs
- TdsParserSafeHandles.cs
- HostingEnvironmentSection.cs
- TextServicesPropertyRanges.cs
- StylusTip.cs
- BridgeDataRecord.cs
- Triangle.cs
- RemotingConfigParser.cs
- TableRow.cs
- PersistenceIOParticipant.cs
- ClientRolePrincipal.cs
- RightNameExpirationInfoPair.cs
- ToolBarPanel.cs
- MDIWindowDialog.cs
- XmlSchemaValidationException.cs
- ColorConvertedBitmapExtension.cs
- DataGridRelationshipRow.cs
- ManualWorkflowSchedulerService.cs
- WithStatement.cs
- TagPrefixCollection.cs
- DefaultObjectMappingItemCollection.cs
- SBCSCodePageEncoding.cs
- FastPropertyAccessor.cs
- HelpEvent.cs
- LinqDataSourceEditData.cs
- DataGridTableCollection.cs
- Rules.cs
- SamlAuthorityBinding.cs
- NullableLongAverageAggregationOperator.cs
- ColorConvertedBitmapExtension.cs
- WebPartEventArgs.cs
- ApplicationTrust.cs
- HostUtils.cs
- CodeStatementCollection.cs
- RootBrowserWindowProxy.cs
- QilLoop.cs
- DocumentViewerBase.cs
- CompilationUtil.cs
- PopOutPanel.cs
- ServiceNotStartedException.cs
- Processor.cs
- XsltContext.cs
- DefaultParameterValueAttribute.cs
- HtmlInputRadioButton.cs
- MultipleViewPattern.cs
- Util.cs
- ClipboardData.cs
- TextEvent.cs
- RefreshEventArgs.cs
- UTF8Encoding.cs
- DrawingCollection.cs
- IDQuery.cs
- RuntimeConfig.cs
- RequestUriProcessor.cs
- URLString.cs
- UnhandledExceptionEventArgs.cs
- DesignerAttribute.cs
- Misc.cs
- Matrix3D.cs
- ListBox.cs
- VirtualizedContainerService.cs
- GeometryHitTestResult.cs
- SpellerInterop.cs
- InvalidWMPVersionException.cs
- CalloutQueueItem.cs
- DataGridSortCommandEventArgs.cs
- connectionpool.cs
- tabpagecollectioneditor.cs
- WindowsTitleBar.cs
- DataSourceView.cs
- ClipboardData.cs
- RootProfilePropertySettingsCollection.cs
- DataGridViewAccessibleObject.cs
- MailDefinition.cs
- FileSystemEventArgs.cs
- ResourceManagerWrapper.cs
- StrokeNodeOperations.cs
- _NestedMultipleAsyncResult.cs
- DateTimeConverter.cs
- OleStrCAMarshaler.cs
- CodeArrayIndexerExpression.cs
- HttpValueCollection.cs
- QueryParameter.cs
- StreamingContext.cs
- MessageFault.cs
- SharedHttpsTransportManager.cs
- ToolStripArrowRenderEventArgs.cs