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
- EndpointDesigner.cs
- StringCollectionMarkupSerializer.cs
- BrowserCapabilitiesFactoryBase.cs
- DrawTreeNodeEventArgs.cs
- ProgressBarAutomationPeer.cs
- ScrollData.cs
- CallbackHandler.cs
- KeyValueConfigurationElement.cs
- WebPartZone.cs
- ToggleButton.cs
- SchemaMerger.cs
- DurableOperationAttribute.cs
- SqlDependencyListener.cs
- RequiredFieldValidator.cs
- OdbcDataReader.cs
- RichTextBox.cs
- _SecureChannel.cs
- HttpDictionary.cs
- XmlObjectSerializerWriteContextComplex.cs
- DesignerFrame.cs
- BindingListCollectionView.cs
- StrokeIntersection.cs
- MailAddress.cs
- Match.cs
- IsolatedStorageException.cs
- Column.cs
- OledbConnectionStringbuilder.cs
- FlowNode.cs
- UserControlParser.cs
- DomainUpDown.cs
- ParserStreamGeometryContext.cs
- ContentOperations.cs
- RangeValuePatternIdentifiers.cs
- FilterUserControlBase.cs
- ProcessHost.cs
- RawStylusInputCustomData.cs
- WindowsListView.cs
- basenumberconverter.cs
- Debug.cs
- SelectionPatternIdentifiers.cs
- GridViewSelectEventArgs.cs
- Type.cs
- XmlNullResolver.cs
- SessionStateUtil.cs
- DynamicPropertyHolder.cs
- unsafenativemethodstextservices.cs
- ManagementEventWatcher.cs
- DataPagerCommandEventArgs.cs
- ButtonDesigner.cs
- DbConnectionInternal.cs
- printdlgexmarshaler.cs
- WindowsListViewScroll.cs
- Separator.cs
- EmptyQuery.cs
- CodeCommentStatementCollection.cs
- ContentIterators.cs
- Win32.cs
- JulianCalendar.cs
- Operator.cs
- SimpleWebHandlerParser.cs
- UTF32Encoding.cs
- SqlDataSourceView.cs
- Substitution.cs
- HMACSHA1.cs
- ServiceMetadataContractBehavior.cs
- DeleteHelper.cs
- ModelFunctionTypeElement.cs
- DbExpressionRules.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- XmlDownloadManager.cs
- Roles.cs
- SortDescription.cs
- StringComparer.cs
- TypeUnloadedException.cs
- FlowDocumentReader.cs
- _HeaderInfoTable.cs
- cookie.cs
- InlineCollection.cs
- PngBitmapDecoder.cs
- XmlElementAttribute.cs
- PrintPreviewDialog.cs
- HMACMD5.cs
- RecordManager.cs
- SecurityDescriptor.cs
- EntityDesignerUtils.cs
- Semaphore.cs
- ConfigXmlCDataSection.cs
- DependencyPropertyHelper.cs
- FormViewInsertedEventArgs.cs
- BufferManager.cs
- CompileXomlTask.cs
- SqlConnectionPoolProviderInfo.cs
- ViewStateAttachedPropertyFeature.cs
- XMLSchema.cs
- SHA384Managed.cs
- QuotedStringFormatReader.cs
- TypefaceMap.cs
- TextSelectionHelper.cs
- ColumnHeaderConverter.cs
- VisualBrush.cs