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
- EventRoute.cs
- DataIdProcessor.cs
- UnionExpr.cs
- Nullable.cs
- WindowsContainer.cs
- Part.cs
- CollectionConverter.cs
- ZipIOLocalFileDataDescriptor.cs
- ThreadStaticAttribute.cs
- DrawingGroup.cs
- NameNode.cs
- XmlArrayItemAttribute.cs
- BaseValidatorDesigner.cs
- HiddenFieldPageStatePersister.cs
- TrustManagerMoreInformation.cs
- EditorPartCollection.cs
- FunctionQuery.cs
- XmlChoiceIdentifierAttribute.cs
- OperatingSystemVersionCheck.cs
- ChannelProtectionRequirements.cs
- ToolStripMenuItem.cs
- OleDbErrorCollection.cs
- TrustSection.cs
- Compilation.cs
- NotifyCollectionChangedEventArgs.cs
- FreezableCollection.cs
- SchemaImporterExtension.cs
- EnglishPluralizationService.cs
- XmlWrappingReader.cs
- PropertyChangingEventArgs.cs
- XMLSyntaxException.cs
- EntityModelBuildProvider.cs
- OptimizerPatterns.cs
- FilterableAttribute.cs
- Enum.cs
- ZipFileInfo.cs
- WebPartMovingEventArgs.cs
- TreeNodeCollection.cs
- UnsafeNativeMethods.cs
- RecipientInfo.cs
- SqlStream.cs
- InlineCollection.cs
- ByteAnimationUsingKeyFrames.cs
- InternalsVisibleToAttribute.cs
- PerformanceCounterManager.cs
- HttpCacheParams.cs
- PolicyChain.cs
- UncommonField.cs
- PerformanceCounterScope.cs
- System.Data.OracleClient_BID.cs
- AccessedThroughPropertyAttribute.cs
- LoginCancelEventArgs.cs
- HttpConfigurationContext.cs
- DataControlFieldHeaderCell.cs
- RightsManagementEncryptedStream.cs
- TerminatorSinks.cs
- ComboBoxHelper.cs
- TextEditorSelection.cs
- DataSourceExpressionCollection.cs
- ValueChangedEventManager.cs
- __Error.cs
- RadioButtonRenderer.cs
- TextLineResult.cs
- DragDeltaEventArgs.cs
- ContractsBCL.cs
- BitVector32.cs
- DataGridRelationshipRow.cs
- DataGridAddNewRow.cs
- ObjectList.cs
- SByteStorage.cs
- X509Chain.cs
- PointCollection.cs
- NavigationService.cs
- StylusEventArgs.cs
- ThaiBuddhistCalendar.cs
- ResourceExpression.cs
- UTF7Encoding.cs
- WorkflowPersistenceContext.cs
- TextShapeableCharacters.cs
- Pen.cs
- Normalization.cs
- StorageMappingFragment.cs
- LongValidator.cs
- ObjectDisposedException.cs
- ChangeTracker.cs
- WsatTransactionInfo.cs
- tibetanshape.cs
- KnownBoxes.cs
- ObjectDataSourceEventArgs.cs
- UTF7Encoding.cs
- DateRangeEvent.cs
- ViewManager.cs
- TextUtf8RawTextWriter.cs
- Ticks.cs
- SystemException.cs
- RegexBoyerMoore.cs
- GetRecipientListRequest.cs
- DeclaredTypeValidator.cs
- VarInfo.cs
- ZipPackagePart.cs