Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- LicenseManager.cs
- Resources.Designer.cs
- SelectionProcessor.cs
- COAUTHINFO.cs
- NamedElement.cs
- ActivationArguments.cs
- SecurityElement.cs
- ReferenceSchema.cs
- StorageSetMapping.cs
- ADConnectionHelper.cs
- RectangleHotSpot.cs
- PermissionToken.cs
- CacheChildrenQuery.cs
- PathSegmentCollection.cs
- HttpListenerRequest.cs
- ToolStripGripRenderEventArgs.cs
- ValueType.cs
- ItemList.cs
- AppSettingsSection.cs
- Utility.cs
- StringSource.cs
- CustomErrorsSectionWrapper.cs
- DockAndAnchorLayout.cs
- FirewallWrapper.cs
- PolicyImporterElement.cs
- LinqDataSourceInsertEventArgs.cs
- PolicyException.cs
- ServiceX509SecurityTokenProvider.cs
- NTAccount.cs
- HtmlTableRowCollection.cs
- Timer.cs
- EdmScalarPropertyAttribute.cs
- returneventsaver.cs
- DataGridViewCellValidatingEventArgs.cs
- UniformGrid.cs
- TouchEventArgs.cs
- CommentGlyph.cs
- XMLSyntaxException.cs
- ServiceNotStartedException.cs
- KoreanLunisolarCalendar.cs
- TransformDescriptor.cs
- LinkTarget.cs
- HashCryptoHandle.cs
- Activity.cs
- ContextMenuAutomationPeer.cs
- EventPrivateKey.cs
- SaveFileDialog.cs
- PathSegment.cs
- NamespaceExpr.cs
- DecoderNLS.cs
- BoolExpression.cs
- SoapProtocolReflector.cs
- ViewgenGatekeeper.cs
- WorkflowFormatterBehavior.cs
- OracleLob.cs
- _emptywebproxy.cs
- SystemParameters.cs
- XmlSchemaInclude.cs
- EventLog.cs
- EncodingStreamWrapper.cs
- GridViewUpdateEventArgs.cs
- AttributeSetAction.cs
- EdmItemCollection.cs
- EventHandlers.cs
- LoadedEvent.cs
- ProfileInfo.cs
- StylusButtonEventArgs.cs
- TraceInternal.cs
- ChtmlSelectionListAdapter.cs
- CodeSnippetTypeMember.cs
- ContourSegment.cs
- OptimalTextSource.cs
- Wildcard.cs
- ReadOnlyCollection.cs
- DrawTreeNodeEventArgs.cs
- MobilePage.cs
- XPathConvert.cs
- PageContent.cs
- HttpFileCollection.cs
- IRCollection.cs
- DataFieldEditor.cs
- SqlAggregateChecker.cs
- SystemIcons.cs
- ExpanderAutomationPeer.cs
- WorkflowEventArgs.cs
- Pts.cs
- GridViewPageEventArgs.cs
- NonParentingControl.cs
- StylusPlugin.cs
- KeyValueInternalCollection.cs
- ContentType.cs
- SmtpDigestAuthenticationModule.cs
- ToolStripDropDownClosedEventArgs.cs
- RoleManagerModule.cs
- ListViewDeletedEventArgs.cs
- DbgUtil.cs
- NumberFormatter.cs
- OdbcRowUpdatingEvent.cs
- KeyPullup.cs
- HtmlGenericControl.cs