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
- PropertyGridView.cs
- LocalBuilder.cs
- SimpleExpression.cs
- BooleanExpr.cs
- FileLoadException.cs
- CultureInfoConverter.cs
- SystemWebCachingSectionGroup.cs
- DataGridViewTextBoxEditingControl.cs
- EventHandlerList.cs
- EmptyReadOnlyDictionaryInternal.cs
- FixedSOMTableRow.cs
- Application.cs
- ReferenceConverter.cs
- ObjectIDGenerator.cs
- SecurityPermission.cs
- ListViewUpdateEventArgs.cs
- ImageMetadata.cs
- XslException.cs
- ToolStripContentPanel.cs
- RegexGroup.cs
- MasterPageBuildProvider.cs
- DynamicControl.cs
- HttpRuntimeSection.cs
- DetailsViewRowCollection.cs
- TypeLoadException.cs
- EventHandlerList.cs
- FormDocumentDesigner.cs
- SBCSCodePageEncoding.cs
- RIPEMD160.cs
- ResXResourceReader.cs
- thaishape.cs
- PartitionResolver.cs
- PartialCachingAttribute.cs
- CustomBinding.cs
- HtmlInputRadioButton.cs
- CountAggregationOperator.cs
- PolicyStatement.cs
- ToolboxBitmapAttribute.cs
- TextBoxBase.cs
- RightNameExpirationInfoPair.cs
- OracleColumn.cs
- GetFileNameResult.cs
- KeySplineConverter.cs
- _NestedSingleAsyncResult.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- GridProviderWrapper.cs
- MdiWindowListItemConverter.cs
- LinearQuaternionKeyFrame.cs
- Imaging.cs
- ScrollEvent.cs
- MemberRestriction.cs
- CodeAttributeArgumentCollection.cs
- ColumnResizeAdorner.cs
- AvTrace.cs
- XhtmlBasicValidationSummaryAdapter.cs
- OracleCommandBuilder.cs
- HttpCapabilitiesBase.cs
- SelectionProviderWrapper.cs
- FlowStep.cs
- OleServicesContext.cs
- VisualStateGroup.cs
- SmiContext.cs
- CapabilitiesRule.cs
- Geometry.cs
- DataRowView.cs
- RewritingProcessor.cs
- ToolStripSplitStackLayout.cs
- HasCopySemanticsAttribute.cs
- OdbcEnvironment.cs
- EventMappingSettings.cs
- RegisteredHiddenField.cs
- XPathMultyIterator.cs
- DoubleCollectionValueSerializer.cs
- HttpConfigurationContext.cs
- SerializationHelper.cs
- XmlTextReaderImplHelpers.cs
- EventLogPermissionAttribute.cs
- CharacterBuffer.cs
- BitmapEffectInput.cs
- Image.cs
- XmlSchemaDatatype.cs
- PrintPreviewDialog.cs
- DbConnectionPoolOptions.cs
- SoapAttributeOverrides.cs
- newinstructionaction.cs
- ConnectionStringsExpressionBuilder.cs
- DataObject.cs
- X509SecurityTokenProvider.cs
- InvalidateEvent.cs
- ServiceModelConfigurationSectionGroup.cs
- DurationConverter.cs
- FlowLayout.cs
- BindingExpressionBase.cs
- ParenthesizePropertyNameAttribute.cs
- OleDbPropertySetGuid.cs
- Normalization.cs
- OleDbInfoMessageEvent.cs
- ResourceBinder.cs
- ColumnPropertiesGroup.cs
- Win32MouseDevice.cs