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
- PageSettings.cs
- CodeGenerator.cs
- ComAdminWrapper.cs
- ProcessProtocolHandler.cs
- CollectionContainer.cs
- DataGridViewCellPaintingEventArgs.cs
- TemplateAction.cs
- ToolStripRenderEventArgs.cs
- ButtonFlatAdapter.cs
- DocumentDesigner.cs
- GridViewRowPresenter.cs
- HttpHandlersSection.cs
- XmlSchemaComplexContentRestriction.cs
- XmlSchemaDocumentation.cs
- ChtmlSelectionListAdapter.cs
- ExtensionDataReader.cs
- GridViewEditEventArgs.cs
- AxisAngleRotation3D.cs
- DbResourceAllocator.cs
- TabletCollection.cs
- WCFServiceClientProxyGenerator.cs
- FontFamily.cs
- SrgsElementFactory.cs
- ProfileModule.cs
- HTMLTagNameToTypeMapper.cs
- UITypeEditor.cs
- Expressions.cs
- EntityContainerRelationshipSet.cs
- OpenCollectionAsyncResult.cs
- CertificateManager.cs
- HtmlLink.cs
- Latin1Encoding.cs
- Psha1DerivedKeyGenerator.cs
- DefaultTraceListener.cs
- PageThemeParser.cs
- XmlConvert.cs
- MissingSatelliteAssemblyException.cs
- ObjectItemAttributeAssemblyLoader.cs
- ThousandthOfEmRealDoubles.cs
- Buffer.cs
- SystemBrushes.cs
- EmptyControlCollection.cs
- CompileXomlTask.cs
- CasesDictionary.cs
- Boolean.cs
- XamlStackWriter.cs
- QilGenerator.cs
- EntityDataSourceDataSelection.cs
- Debug.cs
- DataSourceControlBuilder.cs
- DBAsyncResult.cs
- GroupQuery.cs
- Compiler.cs
- DemultiplexingClientMessageFormatter.cs
- NativeMethods.cs
- AuthorizationContext.cs
- Pair.cs
- HebrewNumber.cs
- SafeBitVector32.cs
- EncodingNLS.cs
- TreeViewImageIndexConverter.cs
- ListViewSortEventArgs.cs
- WeakHashtable.cs
- Assembly.cs
- TabletDevice.cs
- DataGridViewColumn.cs
- ProcessingInstructionAction.cs
- SimpleType.cs
- HttpResponseHeader.cs
- DataGridAddNewRow.cs
- MimeTypeAttribute.cs
- X509ChainElement.cs
- ServiceInstanceProvider.cs
- TextElementEnumerator.cs
- MemberAssignmentAnalysis.cs
- CalculatedColumn.cs
- ColumnWidthChangingEvent.cs
- Viewport3DAutomationPeer.cs
- XmlValidatingReader.cs
- HttpModulesSection.cs
- WindowsRichEditRange.cs
- RootBrowserWindowProxy.cs
- MultiByteCodec.cs
- HostingEnvironmentException.cs
- TypeUtil.cs
- EntityDescriptor.cs
- TextFragmentEngine.cs
- OutgoingWebRequestContext.cs
- FixedSOMPageElement.cs
- XmlDataDocument.cs
- mediaeventargs.cs
- ConsoleTraceListener.cs
- Pkcs7Recipient.cs
- MessageQueueKey.cs
- FontFamily.cs
- SocketPermission.cs
- HighContrastHelper.cs
- _FixedSizeReader.cs
- DiagnosticEventProvider.cs
- Visual3D.cs