Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / StoragePropertyMapping.cs / 1305376 / 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
- SQlBooleanStorage.cs
- PropertyNames.cs
- ConvertEvent.cs
- HealthMonitoringSection.cs
- TrackPoint.cs
- SafeNativeMethods.cs
- TemplateControlBuildProvider.cs
- ChangeDirector.cs
- PreservationFileReader.cs
- ScriptControlDescriptor.cs
- ToolStripSystemRenderer.cs
- FileDialogCustomPlacesCollection.cs
- RtfFormatStack.cs
- BufferCache.cs
- Marshal.cs
- XmlQualifiedNameTest.cs
- HostingEnvironmentException.cs
- CompositeControlDesigner.cs
- XPathEmptyIterator.cs
- HttpListenerException.cs
- CodeTypeDeclaration.cs
- WebMessageEncoderFactory.cs
- CodeArrayCreateExpression.cs
- DataSourceViewSchemaConverter.cs
- ApplicationActivator.cs
- MethodRental.cs
- Tool.cs
- DecimalAnimationUsingKeyFrames.cs
- Journaling.cs
- ProtocolsConfigurationHandler.cs
- OrthographicCamera.cs
- ToolStripItemClickedEventArgs.cs
- ProjectionPathSegment.cs
- IChannel.cs
- TreeNodeSelectionProcessor.cs
- Wizard.cs
- LinearGradientBrush.cs
- HttpResponse.cs
- IntranetCredentialPolicy.cs
- DataGridViewDesigner.cs
- PerformanceCounterPermissionAttribute.cs
- AliasedSlot.cs
- CompositeDuplexElement.cs
- SoapExtension.cs
- ReaderWriterLock.cs
- ChameleonKey.cs
- NetworkInformationPermission.cs
- ColorAnimation.cs
- CompilerGeneratedAttribute.cs
- ByteStreamGeometryContext.cs
- XmlDeclaration.cs
- ClientRuntimeConfig.cs
- GroupStyle.cs
- ECDiffieHellmanPublicKey.cs
- ArrayConverter.cs
- DBDataPermission.cs
- BinaryNode.cs
- DataRowView.cs
- EventPropertyMap.cs
- MILUtilities.cs
- ImportContext.cs
- EntitySqlQueryCacheEntry.cs
- ScrollProperties.cs
- PointKeyFrameCollection.cs
- HostDesigntimeLicenseContext.cs
- PrintControllerWithStatusDialog.cs
- SafeLocalMemHandle.cs
- ByteAnimation.cs
- SafeNativeMethodsOther.cs
- ChannelSinkStacks.cs
- HttpConfigurationSystem.cs
- HashCodeCombiner.cs
- Bitmap.cs
- CodeNamespaceImport.cs
- EmulateRecognizeCompletedEventArgs.cs
- TableCell.cs
- XPathQilFactory.cs
- UIElement.cs
- EventRouteFactory.cs
- RecommendedAsConfigurableAttribute.cs
- Block.cs
- DynamicQueryableWrapper.cs
- MetafileEditor.cs
- WindowsListView.cs
- StylusPlugin.cs
- KeyTimeConverter.cs
- WebRequest.cs
- IssuedTokenClientBehaviorsElement.cs
- FormsAuthenticationCredentials.cs
- SqlErrorCollection.cs
- securitycriticaldataClass.cs
- TypeBuilderInstantiation.cs
- DriveInfo.cs
- WorkflowEventArgs.cs
- DifferencingCollection.cs
- UpdateManifestForBrowserApplication.cs
- SizeAnimationUsingKeyFrames.cs
- TabItemAutomationPeer.cs
- QueryConverter.cs
- SafePointer.cs