Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 1305376 / MappingItemCollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Data.Metadata.Edm; using System.Xml; using System.Xml.Schema; namespace System.Data.Mapping { ////// Class for representing a collection of mapping items in Edm space. /// [CLSCompliant(false)] public abstract class MappingItemCollection : ItemCollection { ////// The default constructor for ItemCollection /// internal MappingItemCollection(DataSpace dataSpace) : base(dataSpace) { } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// ///Returns false if no match found. internal virtual bool TryGetMap(string identity, DataSpace typeSpace, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// internal virtual Map GetMap(GlobalItem item) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// /// ///Returns false if no match found. internal virtual bool TryGetMap(GlobalItem item, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// true for case-insensitive lookup ///Thrown if mapping space is not valid internal virtual Map GetMap(string identity, DataSpace typeSpace, bool ignoreCase) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// true for case-insensitive lookup /// ///Returns false if no match found. internal virtual bool TryGetMap(string identity, DataSpace typeSpace, bool ignoreCase, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to ///Thrown if mapping space is not valid internal virtual Map GetMap(string identity, DataSpace typeSpace) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } }//---- ItemCollection }//---- // 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
- XmlSchemaAny.cs
- ExpressionList.cs
- ScrollBar.cs
- SecurityDocument.cs
- filewebresponse.cs
- COSERVERINFO.cs
- PrePrepareMethodAttribute.cs
- ClientOptions.cs
- PriorityQueue.cs
- DetailsViewDeletedEventArgs.cs
- SpecialNameAttribute.cs
- ToolboxItemAttribute.cs
- DecimalConverter.cs
- BamlWriter.cs
- RenderingBiasValidation.cs
- BufferBuilder.cs
- ResXResourceReader.cs
- GeometryModel3D.cs
- TCEAdapterGenerator.cs
- IPPacketInformation.cs
- PropertyEntry.cs
- LocalValueEnumerator.cs
- PolicyException.cs
- ImageKeyConverter.cs
- XhtmlBasicCalendarAdapter.cs
- DocumentAutomationPeer.cs
- VisualStyleTypesAndProperties.cs
- ToolboxComponentsCreatingEventArgs.cs
- DomainUpDown.cs
- _SingleItemRequestCache.cs
- ObjectCloneHelper.cs
- Interop.cs
- ResponseBodyWriter.cs
- PnrpPermission.cs
- EmissiveMaterial.cs
- StandardMenuStripVerb.cs
- WebDescriptionAttribute.cs
- OutputCacheSettingsSection.cs
- Control.cs
- Stream.cs
- InspectionWorker.cs
- AssemblyUtil.cs
- SystemBrushes.cs
- HttpDictionary.cs
- Helper.cs
- ServiceModelActivationSectionGroup.cs
- Rotation3DKeyFrameCollection.cs
- TransformerTypeCollection.cs
- XmlCharCheckingWriter.cs
- QueryCacheEntry.cs
- NullableFloatAverageAggregationOperator.cs
- TypeSystemHelpers.cs
- TranslateTransform3D.cs
- GPRECTF.cs
- DataGridViewCellCollection.cs
- GetMemberBinder.cs
- MSHTMLHostUtil.cs
- InvalidOperationException.cs
- MethodBuilder.cs
- GridViewEditEventArgs.cs
- SoapReflectionImporter.cs
- SiteMapDataSourceView.cs
- Geometry.cs
- SynchronizationScope.cs
- MappingItemCollection.cs
- SwitchElementsCollection.cs
- IntSecurity.cs
- LinkDescriptor.cs
- PeerSecurityManager.cs
- EventProvider.cs
- EntityCommandCompilationException.cs
- ViewValidator.cs
- DataFieldCollectionEditor.cs
- ScaleTransform3D.cs
- TextEffect.cs
- CoTaskMemSafeHandle.cs
- CompoundFileStorageReference.cs
- DataTableNewRowEvent.cs
- DnsPermission.cs
- StructuralObject.cs
- CollectionViewSource.cs
- SinglePageViewer.cs
- CaseCqlBlock.cs
- FunctionImportMapping.cs
- X509SecurityTokenParameters.cs
- ReliableMessagingHelpers.cs
- ProxyWebPartConnectionCollection.cs
- RealProxy.cs
- PropertyInformationCollection.cs
- IOThreadTimer.cs
- ChameleonKey.cs
- CanonicalXml.cs
- StructuralObject.cs
- TextStore.cs
- ContractUtils.cs
- SeekableReadStream.cs
- DragSelectionMessageFilter.cs
- Cursor.cs
- ExpressionConverter.cs
- UpDownBase.cs