Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 1305376 / MappingItemCollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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. /// [CLSCompliant(false)] 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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. /// [CLSCompliant(false)] 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
- TdsParameterSetter.cs
- XmlSchemaSequence.cs
- UInt16.cs
- MetadataProperty.cs
- ResourceAttributes.cs
- PropertyConverter.cs
- GroupItemAutomationPeer.cs
- ColumnMapProcessor.cs
- WindowsTooltip.cs
- DataSourceXmlClassAttribute.cs
- EventLogger.cs
- UnhandledExceptionEventArgs.cs
- DataFormats.cs
- CodeLinePragma.cs
- ProtocolsConfiguration.cs
- XmlWellformedWriterHelpers.cs
- WpfSharedBamlSchemaContext.cs
- CodeTypeOfExpression.cs
- XmlUtil.cs
- Helper.cs
- RequiredAttributeAttribute.cs
- DesignerSerializerAttribute.cs
- DefaultValueAttribute.cs
- WebSysDisplayNameAttribute.cs
- EtwProvider.cs
- TypeSource.cs
- TaiwanLunisolarCalendar.cs
- TypeConverterHelper.cs
- BinaryUtilClasses.cs
- XmlSerializerNamespaces.cs
- QueryStringParameter.cs
- PolyLineSegment.cs
- XamlReader.cs
- TextFormatter.cs
- GenericQueueSurrogate.cs
- CheckBox.cs
- SharedHttpsTransportManager.cs
- ReflectionUtil.cs
- CodeDomSerializerException.cs
- FtpWebResponse.cs
- HtmlInputReset.cs
- OracleDataAdapter.cs
- BoundField.cs
- QueryServiceConfigHandle.cs
- PointLight.cs
- StylusPointCollection.cs
- XmlSchemaGroupRef.cs
- TableDetailsRow.cs
- TextBox.cs
- ReadOnlyDataSource.cs
- ConnectorEditor.cs
- SpeechSeg.cs
- TextPattern.cs
- WebConfigurationFileMap.cs
- DecoratedNameAttribute.cs
- SafeNativeMethods.cs
- DynamicPropertyReader.cs
- TextServicesDisplayAttributePropertyRanges.cs
- HitTestDrawingContextWalker.cs
- TimelineGroup.cs
- MethodBuilder.cs
- DefinitionUpdate.cs
- BaseConfigurationRecord.cs
- SpellerHighlightLayer.cs
- CompressedStack.cs
- UnauthorizedWebPart.cs
- ActivityMarkupSerializer.cs
- NativeCompoundFileAPIs.cs
- ValuePattern.cs
- _LazyAsyncResult.cs
- CounterSample.cs
- ExpandCollapsePattern.cs
- ListItemsPage.cs
- ExpressionNormalizer.cs
- HttpWrapper.cs
- EntityDataSourceStatementEditorForm.cs
- TableLayoutStyle.cs
- KerberosRequestorSecurityToken.cs
- MediaTimeline.cs
- QilCloneVisitor.cs
- TextLineBreak.cs
- DBBindings.cs
- XamlPathDataSerializer.cs
- FillRuleValidation.cs
- Activity.cs
- MenuItemStyle.cs
- CaseStatement.cs
- WebPartActionVerb.cs
- FixedBufferAttribute.cs
- TypeNameHelper.cs
- GridViewRowEventArgs.cs
- EntityCommandExecutionException.cs
- WindowsPrincipal.cs
- CustomAttributeBuilder.cs
- FormatSettings.cs
- UnsignedPublishLicense.cs
- SyntaxCheck.cs
- PartialTrustVisibleAssemblyCollection.cs
- AliasedExpr.cs
- ValidationRuleCollection.cs