Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 2 / MappingItemCollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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. /// 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. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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. /// 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
- DeviceFiltersSection.cs
- AnnotationResourceChangedEventArgs.cs
- WindowsAuthenticationModule.cs
- NodeFunctions.cs
- UnsafeNativeMethods.cs
- EditorZoneAutoFormat.cs
- GregorianCalendarHelper.cs
- COM2EnumConverter.cs
- IdentitySection.cs
- ToggleButtonAutomationPeer.cs
- TdsParameterSetter.cs
- VirtualPathProvider.cs
- PolicyChain.cs
- SecurityPermission.cs
- EntityCommandDefinition.cs
- Icon.cs
- SystemEvents.cs
- RtfToXamlLexer.cs
- GlyphTypeface.cs
- DesignerActionList.cs
- SqlConnectionString.cs
- Button.cs
- XslTransform.cs
- EventProviderClassic.cs
- SocketException.cs
- HiddenField.cs
- ElementUtil.cs
- JapaneseCalendar.cs
- WsrmMessageInfo.cs
- DesignerSerializationVisibilityAttribute.cs
- TemplateContentLoader.cs
- JsonDeserializer.cs
- validationstate.cs
- DSASignatureFormatter.cs
- pingexception.cs
- QueuedDeliveryRequirementsMode.cs
- ExecutionContext.cs
- MenuItem.cs
- TypeSystemHelpers.cs
- SqlClientMetaDataCollectionNames.cs
- URLString.cs
- ImageField.cs
- MembershipSection.cs
- StylusDownEventArgs.cs
- ActionItem.cs
- TypeDescriptorFilterService.cs
- EventHandlers.cs
- PageBuildProvider.cs
- TypeGeneratedEventArgs.cs
- CodeConstructor.cs
- CodeNamespaceImport.cs
- TypeConverter.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- path.cs
- HtmlWindow.cs
- SqlProviderManifest.cs
- ValidationHelpers.cs
- SendMessageRecord.cs
- OleDbRowUpdatedEvent.cs
- ToolStripLocationCancelEventArgs.cs
- SynchronousChannelMergeEnumerator.cs
- WorkerRequest.cs
- EmptyTextWriter.cs
- ContextStack.cs
- Ray3DHitTestResult.cs
- EntityClientCacheEntry.cs
- SystemTcpConnection.cs
- CacheDependency.cs
- EpmSourcePathSegment.cs
- AffineTransform3D.cs
- GridViewColumn.cs
- EventListener.cs
- Compiler.cs
- DataServiceHost.cs
- QuotedPrintableStream.cs
- WebServiceErrorEvent.cs
- XmlSchemaAttribute.cs
- CounterCreationData.cs
- AddressHeaderCollectionElement.cs
- Query.cs
- RemotingException.cs
- MaterialGroup.cs
- SqlStatistics.cs
- Pens.cs
- XmlTextWriter.cs
- MainMenu.cs
- OptimalBreakSession.cs
- Identity.cs
- SqlConnectionPoolProviderInfo.cs
- DataSourceDesigner.cs
- DataGridViewCellParsingEventArgs.cs
- UIElementParagraph.cs
- XmlParserContext.cs
- PipeStream.cs
- ResolvePPIDRequest.cs
- SharedStatics.cs
- GuidelineSet.cs
- AnnotationMap.cs
- ClientTargetCollection.cs
- SmtpCommands.cs