Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 1 / 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
- MtomMessageEncodingElement.cs
- ChooseAction.cs
- DiagnosticsConfigurationHandler.cs
- ExtractCollection.cs
- HeaderCollection.cs
- DBConnectionString.cs
- Panel.cs
- HashSet.cs
- XamlWriter.cs
- KnownTypesHelper.cs
- DbConnectionHelper.cs
- StreamFormatter.cs
- DoubleKeyFrameCollection.cs
- ConfigsHelper.cs
- MSAANativeProvider.cs
- RuntimeCompatibilityAttribute.cs
- InstanceValue.cs
- TraceEventCache.cs
- IDispatchConstantAttribute.cs
- XmlSchemaSubstitutionGroup.cs
- Table.cs
- Page.cs
- EmptyStringExpandableObjectConverter.cs
- ListComponentEditorPage.cs
- FocusManager.cs
- FixedSOMTableCell.cs
- WinCategoryAttribute.cs
- FacetDescriptionElement.cs
- BigInt.cs
- MaskedTextProvider.cs
- RijndaelManagedTransform.cs
- ReferencedAssemblyResolver.cs
- Verify.cs
- Viewport3DAutomationPeer.cs
- SqlDataSource.cs
- PrtTicket_Public.cs
- PersonalizablePropertyEntry.cs
- ExpressionQuoter.cs
- TogglePattern.cs
- TableRow.cs
- iisPickupDirectory.cs
- AttributeXamlType.cs
- MenuItem.cs
- InlinedAggregationOperatorEnumerator.cs
- TypeSystemProvider.cs
- CaseInsensitiveComparer.cs
- ComponentEvent.cs
- ChildTable.cs
- CultureSpecificCharacterBufferRange.cs
- ClientScriptManager.cs
- PhysicalAddress.cs
- NegatedConstant.cs
- TemplateBindingExtensionConverter.cs
- DictionarySectionHandler.cs
- HwndHost.cs
- EncryptedKeyHashIdentifierClause.cs
- XmlILModule.cs
- Int32CAMarshaler.cs
- GPRECTF.cs
- PrintPreviewControl.cs
- EntityTypeBase.cs
- Flattener.cs
- ResourceDisplayNameAttribute.cs
- HScrollProperties.cs
- ResponseBodyWriter.cs
- ParallelTimeline.cs
- SystemFonts.cs
- SafeRightsManagementPubHandle.cs
- JsonDeserializer.cs
- RegistrySecurity.cs
- SplitContainerDesigner.cs
- OciLobLocator.cs
- GraphicsState.cs
- ModuleConfigurationInfo.cs
- NullRuntimeConfig.cs
- SiteMapDataSourceView.cs
- IdentifierService.cs
- SqlCacheDependencyDatabaseCollection.cs
- BitVector32.cs
- BrowserCapabilitiesCodeGenerator.cs
- TdsParserSessionPool.cs
- QilInvokeLateBound.cs
- CheckBoxBaseAdapter.cs
- SolidColorBrush.cs
- RegexTypeEditor.cs
- SerialPinChanges.cs
- WasHttpModulesInstallComponent.cs
- JsonEnumDataContract.cs
- InProcStateClientManager.cs
- ConfigXmlText.cs
- RotateTransform3D.cs
- IndexedGlyphRun.cs
- RuntimeConfig.cs
- Icon.cs
- WindowsFormsSynchronizationContext.cs
- _TLSstream.cs
- TagElement.cs
- CharUnicodeInfo.cs
- Application.cs
- ImplicitInputBrush.cs