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
- OleDbConnectionFactory.cs
- SessionStateItemCollection.cs
- Accessible.cs
- EndOfStreamException.cs
- InputLanguageSource.cs
- Operators.cs
- ValidationHelper.cs
- WorkflowLayouts.cs
- RequestStatusBarUpdateEventArgs.cs
- XamlSerializer.cs
- Roles.cs
- BitmapDecoder.cs
- ActivityXRefConverter.cs
- followingsibling.cs
- PrintPreviewDialog.cs
- GeometryModel3D.cs
- DataGridViewTopLeftHeaderCell.cs
- Validator.cs
- NamespaceCollection.cs
- CopyCodeAction.cs
- ImageCodecInfo.cs
- XmlCharType.cs
- StrongName.cs
- Configuration.cs
- StopStoryboard.cs
- ContextMenuStrip.cs
- CollectionView.cs
- autovalidator.cs
- MimeTypePropertyAttribute.cs
- PersianCalendar.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TypefaceMetricsCache.cs
- Vector3D.cs
- PenContexts.cs
- BaseCodeDomTreeGenerator.cs
- PageStatePersister.cs
- XmlEntityReference.cs
- Listbox.cs
- TabRenderer.cs
- OracleBoolean.cs
- TdsParserStateObject.cs
- BrowserCapabilitiesFactory.cs
- PermissionSet.cs
- ControlHelper.cs
- FixedPage.cs
- ViewStateModeByIdAttribute.cs
- StatusBar.cs
- ListCardsInFileRequest.cs
- Type.cs
- GrammarBuilderPhrase.cs
- ColumnMapProcessor.cs
- SessionStateUtil.cs
- figurelengthconverter.cs
- TextParagraphProperties.cs
- XsltOutput.cs
- DbParameterCollectionHelper.cs
- AsyncPostBackErrorEventArgs.cs
- MSAAWinEventWrap.cs
- ContractComponent.cs
- SQLChars.cs
- Point.cs
- CompilerGlobalScopeAttribute.cs
- VisualBrush.cs
- Pens.cs
- TransformerInfoCollection.cs
- ObjectConverter.cs
- SoapHeader.cs
- ISessionStateStore.cs
- WebPartTransformerCollection.cs
- HMACSHA1.cs
- HMACSHA1.cs
- RawMouseInputReport.cs
- LiteralTextContainerControlBuilder.cs
- HttpDebugHandler.cs
- SafeEventLogReadHandle.cs
- XmlDataImplementation.cs
- IndentTextWriter.cs
- Stroke.cs
- DefaultPropertyAttribute.cs
- FixedTextView.cs
- HtmlInputHidden.cs
- TextContainerHelper.cs
- DataTrigger.cs
- HandleRef.cs
- DataListCommandEventArgs.cs
- ContentDesigner.cs
- _Rfc2616CacheValidators.cs
- PersonalizableTypeEntry.cs
- TextSpanModifier.cs
- _AutoWebProxyScriptHelper.cs
- HtmlEncodedRawTextWriter.cs
- ClaimSet.cs
- RecognizerBase.cs
- MessageCredentialType.cs
- CredentialCache.cs
- VectorAnimationBase.cs
- GeneratedView.cs
- CompleteWizardStep.cs
- DataView.cs
- XmlSchemaFacet.cs