Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Mapping / EntityViewContainer.cs / 3 / 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. //---------------------------------------------------------------------- // // 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
![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
- Brush.cs
- DocumentViewerBaseAutomationPeer.cs
- ReadOnlyHierarchicalDataSourceView.cs
- UnsafeNativeMethods.cs
- FixedFindEngine.cs
- PartialTrustValidationBehavior.cs
- PerspectiveCamera.cs
- UserControlCodeDomTreeGenerator.cs
- SynchronizationScope.cs
- ScrollChrome.cs
- FormattedTextSymbols.cs
- CalloutQueueItem.cs
- EventProviderWriter.cs
- HttpModuleCollection.cs
- Slider.cs
- WindowsFormsHelpers.cs
- HostedImpersonationContext.cs
- MembershipSection.cs
- Literal.cs
- SystemEvents.cs
- DataSourceBooleanViewSchemaConverter.cs
- ToolStripDropDownClosedEventArgs.cs
- XmlReaderDelegator.cs
- TimeZone.cs
- FileUtil.cs
- MessageSmuggler.cs
- TerminatorSinks.cs
- ProofTokenCryptoHandle.cs
- SoapRpcServiceAttribute.cs
- DataTableReader.cs
- StrokeNodeOperations2.cs
- EventMemberCodeDomSerializer.cs
- PropertyDescriptorComparer.cs
- XmlNamespaceDeclarationsAttribute.cs
- XomlSerializationHelpers.cs
- FillErrorEventArgs.cs
- ECDiffieHellmanCng.cs
- DataRowChangeEvent.cs
- _SecureChannel.cs
- NameValueFileSectionHandler.cs
- SoapIgnoreAttribute.cs
- TypeRestriction.cs
- NavigationCommands.cs
- BindingExpressionBase.cs
- PseudoWebRequest.cs
- MailWebEventProvider.cs
- Soap12FormatExtensions.cs
- InvocationExpression.cs
- ReflectionPermission.cs
- OutputCacheSection.cs
- RelationshipManager.cs
- Version.cs
- XmlBinaryReaderSession.cs
- DataGridViewComboBoxColumn.cs
- ManipulationCompletedEventArgs.cs
- MarkupCompilePass2.cs
- CommonObjectSecurity.cs
- BitmapEffectInput.cs
- SafeNativeMethods.cs
- EnumerableCollectionView.cs
- ByteFacetDescriptionElement.cs
- GeneralTransform.cs
- HttpException.cs
- TextBox.cs
- AtomicFile.cs
- GridViewColumn.cs
- NumericUpDownAcceleration.cs
- XsltCompileContext.cs
- ObjectView.cs
- ListChangedEventArgs.cs
- Bits.cs
- HierarchicalDataBoundControlAdapter.cs
- EllipseGeometry.cs
- PointHitTestParameters.cs
- DynamicDiscoveryDocument.cs
- ColumnProvider.cs
- FontDialog.cs
- TextEditorParagraphs.cs
- ExceptionHandlersDesigner.cs
- RtType.cs
- WebServiceParameterData.cs
- SoapEnumAttribute.cs
- SiteMembershipCondition.cs
- XmlUnspecifiedAttribute.cs
- PropertyChangedEventArgs.cs
- ExtendedPropertyCollection.cs
- CollectionsUtil.cs
- AsnEncodedData.cs
- CqlErrorHelper.cs
- OdbcEnvironmentHandle.cs
- DynamicPropertyHolder.cs
- CroppedBitmap.cs
- dsa.cs
- AssociationType.cs
- GridView.cs
- Screen.cs
- FontFamily.cs
- MarkupCompilePass2.cs
- ClientOptions.cs
- SchemaImporter.cs