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
- HtmlInputControl.cs
- XhtmlBasicValidationSummaryAdapter.cs
- XsdCachingReader.cs
- SqlClientWrapperSmiStream.cs
- ReturnType.cs
- PeekCompletedEventArgs.cs
- DispatcherTimer.cs
- SqlFormatter.cs
- DirectionalAction.cs
- XPathQilFactory.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- CodePropertyReferenceExpression.cs
- SchemaCollectionPreprocessor.cs
- GeneralTransform3DTo2D.cs
- CryptographicAttribute.cs
- TypeExtensionSerializer.cs
- AdornerLayer.cs
- EntityDataSourceStatementEditorForm.cs
- XmlSchemaAny.cs
- AutomationEventArgs.cs
- MenuItemStyleCollection.cs
- FunctionCommandText.cs
- GifBitmapEncoder.cs
- FocusChangedEventArgs.cs
- UnsettableComboBox.cs
- ToolStripTextBox.cs
- SecurityPermission.cs
- MulticastDelegate.cs
- GeneralTransform3DTo2DTo3D.cs
- AttributedMetaModel.cs
- XmlnsDictionary.cs
- ProvideValueServiceProvider.cs
- UpdatePanelTriggerCollection.cs
- SessionState.cs
- NullReferenceException.cs
- CompilationRelaxations.cs
- _WinHttpWebProxyDataBuilder.cs
- WpfKnownTypeInvoker.cs
- SrgsDocument.cs
- NativeMethodsCLR.cs
- SessionStateItemCollection.cs
- XamlWrapperReaders.cs
- EDesignUtil.cs
- ObsoleteAttribute.cs
- RangeContentEnumerator.cs
- PageCatalogPart.cs
- CommunicationObjectAbortedException.cs
- HtmlHistory.cs
- XsltConvert.cs
- Size.cs
- OutKeywords.cs
- ActiveXSite.cs
- TempFiles.cs
- BooleanExpr.cs
- UnknownBitmapDecoder.cs
- WebResponse.cs
- SiteMapSection.cs
- DateTimeSerializationSection.cs
- ErrorHandler.cs
- smtpconnection.cs
- SafePEFileHandle.cs
- QueryRewriter.cs
- FormsAuthenticationTicket.cs
- TabItem.cs
- NameSpaceExtractor.cs
- ValueExpressions.cs
- ButtonPopupAdapter.cs
- _PooledStream.cs
- _NestedMultipleAsyncResult.cs
- ButtonBase.cs
- StrongNameKeyPair.cs
- HttpException.cs
- StringAnimationUsingKeyFrames.cs
- WindowsRegion.cs
- KeyedHashAlgorithm.cs
- TrackBarDesigner.cs
- TextProperties.cs
- DocComment.cs
- RelationshipType.cs
- ConfigurationValues.cs
- TrackingValidationObjectDictionary.cs
- WizardSideBarListControlItemEventArgs.cs
- CodeCompiler.cs
- Rights.cs
- ActivationService.cs
- LiteralControl.cs
- WinInetCache.cs
- CollectionEditVerbManager.cs
- EFColumnProvider.cs
- GridItemCollection.cs
- RuleInfoComparer.cs
- InternalSafeNativeMethods.cs
- HtmlInputCheckBox.cs
- Model3DGroup.cs
- XmlExpressionDumper.cs
- ColumnPropertiesGroup.cs
- newitemfactory.cs
- Point3DValueSerializer.cs
- PtsCache.cs
- AssociatedControlConverter.cs