Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Mapping / StoragePropertyMapping.cs / 1 / StoragePropertyMapping.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Data.Metadata.Edm; namespace System.Data.Mapping { ////// Mapping metadata for all types of property mappings. /// ////// For Example if conceptually you could represent the CS MSL file as following /// --Mapping /// --EntityContainerMapping ( CNorthwind-->SNorthwind ) /// --EntitySetMapping /// --EntityTypeMapping /// --TableMappingFragment /// --EntityKey /// --ScalarPropertyMap /// --ScalarPropertyMap /// --EntityTypeMapping /// --TableMappingFragment /// --EntityKey /// --ScalarPropertyMap /// --ComplexPropertyMap /// --ScalarPropertyMap /// --ScalarProperyMap /// --ScalarPropertyMap /// --AssociationSetMapping /// --AssociationTypeMapping /// --TableMappingFragment /// --EndPropertyMap /// --ScalarPropertyMap /// --ScalarProperyMap /// --EndPropertyMap /// --ScalarPropertyMap /// --EntityContainerMapping ( CMyDatabase-->SMyDatabase ) /// --CompositionSetMapping /// --CompositionTypeMapping /// --TableMappingFragment /// --ParentEntityKey /// --ScalarPropertyMap /// --ScalarPropertyMap /// --EntityKey /// --ScalarPropertyMap /// --ScalarPropertyMap /// --ComplexPropertyMap /// --ScalarPropertyMap /// --ScalarProperyMap /// --ScalarPropertyMap /// This class represents the metadata for all property map elements in the /// above example. This includes the scalar property maps, complex property maps /// and end property maps. /// internal abstract class StoragePropertyMapping { #region Constructors ////// Construct a new EdmProperty mapping object /// /// The PropertyMetadata object that represents the member for which mapping is being specified internal StoragePropertyMapping(EdmProperty cdmMember) { this.m_cdmMember = cdmMember; } #endregion #region Fields EdmProperty m_cdmMember; //EdmProperty metadata representing the Cdm member for which the mapping is specified #endregion #region Properties ////// The PropertyMetadata object that represents the member for which mapping is being specified /// internal virtual EdmProperty EdmProperty { get { return this.m_cdmMember; } } #endregion #region Methods ////// This method is primarily for debugging purposes. /// Will be removed shortly. /// /// internal virtual void Print(int index) { } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Data.Metadata.Edm; namespace System.Data.Mapping { ////// Mapping metadata for all types of property mappings. /// ////// For Example if conceptually you could represent the CS MSL file as following /// --Mapping /// --EntityContainerMapping ( CNorthwind-->SNorthwind ) /// --EntitySetMapping /// --EntityTypeMapping /// --TableMappingFragment /// --EntityKey /// --ScalarPropertyMap /// --ScalarPropertyMap /// --EntityTypeMapping /// --TableMappingFragment /// --EntityKey /// --ScalarPropertyMap /// --ComplexPropertyMap /// --ScalarPropertyMap /// --ScalarProperyMap /// --ScalarPropertyMap /// --AssociationSetMapping /// --AssociationTypeMapping /// --TableMappingFragment /// --EndPropertyMap /// --ScalarPropertyMap /// --ScalarProperyMap /// --EndPropertyMap /// --ScalarPropertyMap /// --EntityContainerMapping ( CMyDatabase-->SMyDatabase ) /// --CompositionSetMapping /// --CompositionTypeMapping /// --TableMappingFragment /// --ParentEntityKey /// --ScalarPropertyMap /// --ScalarPropertyMap /// --EntityKey /// --ScalarPropertyMap /// --ScalarPropertyMap /// --ComplexPropertyMap /// --ScalarPropertyMap /// --ScalarProperyMap /// --ScalarPropertyMap /// This class represents the metadata for all property map elements in the /// above example. This includes the scalar property maps, complex property maps /// and end property maps. /// internal abstract class StoragePropertyMapping { #region Constructors ////// Construct a new EdmProperty mapping object /// /// The PropertyMetadata object that represents the member for which mapping is being specified internal StoragePropertyMapping(EdmProperty cdmMember) { this.m_cdmMember = cdmMember; } #endregion #region Fields EdmProperty m_cdmMember; //EdmProperty metadata representing the Cdm member for which the mapping is specified #endregion #region Properties ////// The PropertyMetadata object that represents the member for which mapping is being specified /// internal virtual EdmProperty EdmProperty { get { return this.m_cdmMember; } } #endregion #region Methods ////// This method is primarily for debugging purposes. /// Will be removed shortly. /// /// internal virtual void Print(int index) { } #endregion } } // 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
- Composition.cs
- SqlReorderer.cs
- CatalogPartChrome.cs
- KeyValueConfigurationElement.cs
- SortedList.cs
- SqlDataSourceQuery.cs
- BlockingCollection.cs
- CodeAttachEventStatement.cs
- WebReferenceCollection.cs
- AssociationType.cs
- FrameworkReadOnlyPropertyMetadata.cs
- EmptyStringExpandableObjectConverter.cs
- ModifierKeysConverter.cs
- AcceleratedTokenProvider.cs
- GeneralTransform3DGroup.cs
- ToolStripItem.cs
- DiscoveryDocumentReference.cs
- QuaternionConverter.cs
- ProtocolsConfiguration.cs
- Message.cs
- TextServicesPropertyRanges.cs
- EUCJPEncoding.cs
- BitmapImage.cs
- IPHostEntry.cs
- CacheMode.cs
- PriorityItem.cs
- ClientConfigurationHost.cs
- RenderCapability.cs
- HandoffBehavior.cs
- DoubleCollection.cs
- MarkupCompilePass2.cs
- FirewallWrapper.cs
- DescendantBaseQuery.cs
- HelpInfo.cs
- InternalDuplexChannelListener.cs
- DSASignatureFormatter.cs
- SqlNodeAnnotation.cs
- EventDescriptor.cs
- IssuanceTokenProviderBase.cs
- TokenDescriptor.cs
- AttachedPropertiesService.cs
- SqlConnectionStringBuilder.cs
- EntityContainerRelationshipSet.cs
- CodeParameterDeclarationExpressionCollection.cs
- FlowPosition.cs
- XamlParser.cs
- MarginCollapsingState.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- coordinatorscratchpad.cs
- RegistryExceptionHelper.cs
- BitmapEffectRenderDataResource.cs
- HtmlInputRadioButton.cs
- FixedElement.cs
- ZoneIdentityPermission.cs
- ArgIterator.cs
- ContentPlaceHolder.cs
- DesignSurface.cs
- ExpressionNormalizer.cs
- MemoryRecordBuffer.cs
- NativeStructs.cs
- InputLanguageManager.cs
- COM2PropertyBuilderUITypeEditor.cs
- LogReservationCollection.cs
- WorkflowIdleBehavior.cs
- TemplateContainer.cs
- LeftCellWrapper.cs
- Brush.cs
- UInt64.cs
- MsmqBindingFilter.cs
- Opcode.cs
- WebBrowserPermission.cs
- InstanceLockQueryResult.cs
- DataServiceRequest.cs
- XmlWriterSettings.cs
- KeyValuePair.cs
- OleDbReferenceCollection.cs
- KeyedHashAlgorithm.cs
- ConfigurationErrorsException.cs
- FileUpload.cs
- XmlSchemaSubstitutionGroup.cs
- MediaCommands.cs
- SourceElementsCollection.cs
- SqlInternalConnection.cs
- DataGridViewColumnHeaderCell.cs
- WebMessageEncodingElement.cs
- ViewBox.cs
- Frame.cs
- TreeViewItem.cs
- ReadOnlyObservableCollection.cs
- FrameworkElement.cs
- ComponentCommands.cs
- ToolStripPanelCell.cs
- PriorityBindingExpression.cs
- HtmlInputControl.cs
- AmbientLight.cs
- EdmConstants.cs
- MsdtcWrapper.cs
- RoutedEventHandlerInfo.cs
- _Rfc2616CacheValidators.cs
- XPathAxisIterator.cs