Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridAddNewRow.cs
- MoveSizeWinEventHandler.cs
- InputLanguageProfileNotifySink.cs
- X509ClientCertificateAuthenticationElement.cs
- TreeViewItem.cs
- ProcessModelSection.cs
- TraceContextEventArgs.cs
- DataGridHeaderBorder.cs
- SHA384CryptoServiceProvider.cs
- GridItemProviderWrapper.cs
- ModifierKeysConverter.cs
- TextElementCollectionHelper.cs
- DefaultIfEmptyQueryOperator.cs
- ContextBase.cs
- GridViewRowCollection.cs
- SimpleExpression.cs
- UIElementIsland.cs
- InvokeHandlers.cs
- BoolExpressionVisitors.cs
- DependencyObjectValidator.cs
- CounterSampleCalculator.cs
- SQlBooleanStorage.cs
- DatatypeImplementation.cs
- BitmapEffectInputData.cs
- TableColumn.cs
- CommandDevice.cs
- DataSpaceManager.cs
- ArraySortHelper.cs
- PositiveTimeSpanValidatorAttribute.cs
- SiteMapProvider.cs
- GridViewUpdateEventArgs.cs
- SourceSwitch.cs
- WebPartAddingEventArgs.cs
- OutputCacheSettings.cs
- AtomMaterializerLog.cs
- SqlDataSourceConfigureSelectPanel.cs
- GatewayDefinition.cs
- EmbeddedMailObjectsCollection.cs
- SafeMILHandleMemoryPressure.cs
- HtmlControlDesigner.cs
- TiffBitmapDecoder.cs
- MatrixConverter.cs
- EmissiveMaterial.cs
- XamlSerializerUtil.cs
- FrameDimension.cs
- DataGridViewImageCell.cs
- SerializerProvider.cs
- ScrollProviderWrapper.cs
- StringDictionary.cs
- ContractAdapter.cs
- CompositeControl.cs
- CultureSpecificCharacterBufferRange.cs
- FixedSOMTable.cs
- IssuerInformation.cs
- JsonServiceDocumentSerializer.cs
- Util.cs
- SerializationEventsCache.cs
- ApplicationContext.cs
- objectquery_tresulttype.cs
- DecimalKeyFrameCollection.cs
- ExpressionBindingCollection.cs
- Encoder.cs
- Timer.cs
- Pen.cs
- ConnectionDemuxer.cs
- BasicCommandTreeVisitor.cs
- SurrogateEncoder.cs
- ControlUtil.cs
- StateMachineHelpers.cs
- Menu.cs
- NotifyInputEventArgs.cs
- StickyNote.cs
- FactoryGenerator.cs
- TextContainerChangedEventArgs.cs
- SvcMapFile.cs
- ConfigurationPropertyAttribute.cs
- Color.cs
- HttpProtocolImporter.cs
- CompilerState.cs
- SimpleBitVector32.cs
- FontClient.cs
- ConnectionConsumerAttribute.cs
- BinarySerializer.cs
- DefaultTraceListener.cs
- TableHeaderCell.cs
- ExceptionHelpers.cs
- ThreadStateException.cs
- ObjectStateFormatter.cs
- WindowsUpDown.cs
- FlowchartStart.xaml.cs
- BitmapCacheBrush.cs
- AttributeCollection.cs
- ExtendedProperty.cs
- XmlUtil.cs
- SponsorHelper.cs
- EnumerableRowCollection.cs
- LocatorPart.cs
- SecurityHelper.cs
- KnownBoxes.cs
- XmlArrayItemAttributes.cs