Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- WebResourceAttribute.cs
- BasicExpandProvider.cs
- BitmapCodecInfoInternal.cs
- WebHeaderCollection.cs
- ComponentDispatcherThread.cs
- InputEventArgs.cs
- DataGridItem.cs
- RowVisual.cs
- RegistrySecurity.cs
- DetailsViewRowCollection.cs
- Manipulation.cs
- ClientTargetSection.cs
- RegexWorker.cs
- DecimalConstantAttribute.cs
- TreeViewAutomationPeer.cs
- TextFragmentEngine.cs
- TemplatedAdorner.cs
- DetailsView.cs
- TransformerInfoCollection.cs
- Random.cs
- TextBounds.cs
- FacetDescriptionElement.cs
- SettingsPropertyWrongTypeException.cs
- DataGridSortCommandEventArgs.cs
- DependencyObjectProvider.cs
- TreeNodeCollectionEditorDialog.cs
- WindowsSysHeader.cs
- CommentEmitter.cs
- CodeAttributeDeclaration.cs
- SQLResource.cs
- FormsAuthenticationTicket.cs
- AxHostDesigner.cs
- PenContext.cs
- UidManager.cs
- DBConnectionString.cs
- IsolatedStorageFileStream.cs
- UserUseLicenseDictionaryLoader.cs
- __ComObject.cs
- SchemaNotation.cs
- DirectionalLight.cs
- DataBoundControlHelper.cs
- XPathArrayIterator.cs
- CompilerResults.cs
- UTF32Encoding.cs
- HttpClientCredentialType.cs
- RegexGroup.cs
- IdentityElement.cs
- StrokeCollectionConverter.cs
- AtomMaterializer.cs
- FamilyCollection.cs
- KeyEvent.cs
- MailAddress.cs
- AccessKeyManager.cs
- TransformerTypeCollection.cs
- QueueTransferProtocol.cs
- TreeViewDataItemAutomationPeer.cs
- ModuleBuilder.cs
- BindingListCollectionView.cs
- WebPartConnectionsEventArgs.cs
- SafeFileHandle.cs
- JavaScriptSerializer.cs
- RoutedEventArgs.cs
- PasswordRecoveryDesigner.cs
- DiscreteKeyFrames.cs
- FormView.cs
- WebPartTransformerCollection.cs
- SearchForVirtualItemEventArgs.cs
- AdornerDecorator.cs
- StateBag.cs
- ListViewHitTestInfo.cs
- WhitespaceRule.cs
- TextRenderer.cs
- XmlIgnoreAttribute.cs
- DecimalAnimationBase.cs
- DocumentXPathNavigator.cs
- FixedPageStructure.cs
- WindowsTab.cs
- StylusPointProperties.cs
- BaseInfoTable.cs
- BitmapEffectInputData.cs
- Point.cs
- basevalidator.cs
- ZoneLinkButton.cs
- WorkflowTraceTransfer.cs
- ApplicationHost.cs
- Matrix3D.cs
- DesignerTransactionCloseEvent.cs
- Qualifier.cs
- ObjectDataSourceFilteringEventArgs.cs
- WorkflowViewService.cs
- TextSearch.cs
- IntSecurity.cs
- ConfigXmlText.cs
- AssertUtility.cs
- ConfigLoader.cs
- BufferedStream2.cs
- MsmqIntegrationBindingElement.cs
- AccessDataSourceWizardForm.cs
- EventMappingSettingsCollection.cs
- FunctionMappingTranslator.cs