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
- FontDifferentiator.cs
- UnsafeNativeMethods.cs
- FixedSOMFixedBlock.cs
- UpdateCompiler.cs
- DataGridViewCellStyle.cs
- XamlWriter.cs
- BCLDebug.cs
- Vector3DAnimation.cs
- UnmanagedMemoryStream.cs
- ExpandButtonVisibilityConverter.cs
- DataBinder.cs
- SQLDecimalStorage.cs
- RenderContext.cs
- HttpContext.cs
- HttpCookie.cs
- SvcMapFileLoader.cs
- XhtmlBasicLiteralTextAdapter.cs
- BaseAddressPrefixFilterElement.cs
- PermissionRequestEvidence.cs
- _ListenerResponseStream.cs
- FileFormatException.cs
- COMException.cs
- TreeNodeBindingDepthConverter.cs
- OleDbStruct.cs
- ToolStripPanelRenderEventArgs.cs
- DictionaryItemsCollection.cs
- Comparer.cs
- ClassImporter.cs
- TypeHelper.cs
- VectorCollection.cs
- ProviderCollection.cs
- FixedPosition.cs
- ImpersonationContext.cs
- CodeDomComponentSerializationService.cs
- DetailsViewInsertEventArgs.cs
- ScrollItemProviderWrapper.cs
- SessionStateSection.cs
- XmlLangPropertyAttribute.cs
- SimpleHandlerBuildProvider.cs
- FamilyTypeface.cs
- _HeaderInfo.cs
- SynchronizingStream.cs
- ContainerVisual.cs
- ProfilePropertySettings.cs
- StorageSetMapping.cs
- HttpVersion.cs
- AttributeTableBuilder.cs
- ConfigurationManagerHelper.cs
- URLAttribute.cs
- ServiceAppDomainAssociationProvider.cs
- ListViewContainer.cs
- Geometry3D.cs
- DataGridTableCollection.cs
- WebBrowserNavigatedEventHandler.cs
- JapaneseCalendar.cs
- DataAdapter.cs
- SQLSingle.cs
- DesignSurface.cs
- BrowserCapabilitiesFactory.cs
- ZoneIdentityPermission.cs
- FtpCachePolicyElement.cs
- Stroke2.cs
- SoapSchemaMember.cs
- ByteStorage.cs
- ParallelEnumerable.cs
- StatusBar.cs
- EdmError.cs
- SymDocumentType.cs
- PolyQuadraticBezierSegment.cs
- FlowPosition.cs
- BulletedList.cs
- WebSysDisplayNameAttribute.cs
- RowUpdatedEventArgs.cs
- EditingScopeUndoUnit.cs
- KeyValueConfigurationElement.cs
- x509store.cs
- TypeToArgumentTypeConverter.cs
- DbUpdateCommandTree.cs
- SendKeys.cs
- FlowchartDesigner.Helpers.cs
- WebEncodingValidatorAttribute.cs
- EncodingDataItem.cs
- ItemsPanelTemplate.cs
- SecurityTokenSpecification.cs
- FileLevelControlBuilderAttribute.cs
- PathFigureCollectionValueSerializer.cs
- SecurityDescriptor.cs
- KnownTypes.cs
- RuntimeWrappedException.cs
- UnsafeNativeMethodsCLR.cs
- FigureParagraph.cs
- AnnotationResourceChangedEventArgs.cs
- Literal.cs
- EventSinkHelperWriter.cs
- Metafile.cs
- FlowDocumentPageViewerAutomationPeer.cs
- StrongNameUtility.cs
- CounterCreationData.cs
- HostExecutionContextManager.cs
- XmlAutoDetectWriter.cs