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
- MarkupCompilePass1.cs
- ContourSegment.cs
- TdsRecordBufferSetter.cs
- ControlCollection.cs
- DrawingCollection.cs
- WeakHashtable.cs
- xmlglyphRunInfo.cs
- RTLAwareMessageBox.cs
- XPathNavigatorKeyComparer.cs
- ImportCatalogPart.cs
- TimeStampChecker.cs
- SqlUtils.cs
- DataTemplateSelector.cs
- WindowsScroll.cs
- MailFileEditor.cs
- sqlser.cs
- FileSystemEventArgs.cs
- ContextStack.cs
- XomlCompilerResults.cs
- PermissionSetEnumerator.cs
- DoubleLink.cs
- UnsafeNativeMethodsCLR.cs
- TypeElement.cs
- RuntimeConfig.cs
- precedingquery.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- OrderedDictionary.cs
- altserialization.cs
- PropertyItem.cs
- ThrowOnMultipleAssignment.cs
- ImageField.cs
- UICuesEvent.cs
- SplitterCancelEvent.cs
- TypeLibConverter.cs
- EntityDataSourceSelectingEventArgs.cs
- LinkDescriptor.cs
- BaseTreeIterator.cs
- DataGridRowHeaderAutomationPeer.cs
- ServiceNameElementCollection.cs
- OleDbTransaction.cs
- QilUnary.cs
- XmlWrappingReader.cs
- HttpWriter.cs
- CompModHelpers.cs
- CacheMode.cs
- sqlser.cs
- AmbientLight.cs
- SqlBooleanizer.cs
- CardSpaceException.cs
- ReaderContextStackData.cs
- ContentIterators.cs
- XDeferredAxisSource.cs
- AssemblyUtil.cs
- DefaultSerializationProviderAttribute.cs
- ExpressionBuilderCollection.cs
- Normalization.cs
- PropertyGridView.cs
- ForeignKeyConstraint.cs
- QilSortKey.cs
- AutomationIdentifierGuids.cs
- ProgressChangedEventArgs.cs
- LogSwitch.cs
- PageAsyncTaskManager.cs
- Win32.cs
- HitTestDrawingContextWalker.cs
- QilExpression.cs
- ToolStripControlHost.cs
- ServiceOperationParameter.cs
- DbProviderFactories.cs
- DelayLoadType.cs
- ScrollableControl.cs
- IdnElement.cs
- SqlClientFactory.cs
- EntitySqlException.cs
- AsymmetricSignatureFormatter.cs
- BulletedListEventArgs.cs
- NodeInfo.cs
- CodeIndexerExpression.cs
- NegationPusher.cs
- Matrix.cs
- HttpResponseHeader.cs
- UserControlParser.cs
- SoapExtensionStream.cs
- WebPartCloseVerb.cs
- CapacityStreamGeometryContext.cs
- InstanceNameConverter.cs
- EventProvider.cs
- DelegateSerializationHolder.cs
- Container.cs
- StreamUpdate.cs
- TimeoutHelper.cs
- DESCryptoServiceProvider.cs
- ConnectionPointGlyph.cs
- UnsafeNativeMethods.cs
- DiscreteKeyFrames.cs
- XMLUtil.cs
- serverconfig.cs
- ValidationManager.cs
- SurrogateSelector.cs
- ActivityBuilderHelper.cs