Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ItemsPanelTemplate.cs
- GC.cs
- Int32EqualityComparer.cs
- followingquery.cs
- mediapermission.cs
- ListBindingHelper.cs
- DrawingVisualDrawingContext.cs
- EntityDataSourceView.cs
- RegexMatch.cs
- FieldNameLookup.cs
- PersonalizationProvider.cs
- SimplePropertyEntry.cs
- ByteArrayHelperWithString.cs
- EntityContainerAssociationSetEnd.cs
- SystemFonts.cs
- ParamArrayAttribute.cs
- ImageListImageEditor.cs
- DataTableClearEvent.cs
- BrowserCapabilitiesCodeGenerator.cs
- ValidationRule.cs
- BufferBuilder.cs
- TypeKeyValue.cs
- ItemMap.cs
- TemplateManager.cs
- TaskDesigner.cs
- COM2Properties.cs
- COM2PictureConverter.cs
- EventDrivenDesigner.cs
- DateTimeOffsetStorage.cs
- XmlDataDocument.cs
- Model3DGroup.cs
- ManagementEventWatcher.cs
- FileDialog.cs
- CollectionChangeEventArgs.cs
- WorkflowServiceNamespace.cs
- Compilation.cs
- InstalledVoice.cs
- CompilerParameters.cs
- DocumentPageTextView.cs
- SimpleTypesSurrogate.cs
- GenericTextProperties.cs
- XmlSchemaSet.cs
- MultiSelector.cs
- util.cs
- ProxyAttribute.cs
- DataContext.cs
- SmtpReplyReader.cs
- ElementHostAutomationPeer.cs
- MetadataArtifactLoaderCompositeResource.cs
- bidPrivateBase.cs
- ECDsaCng.cs
- linebase.cs
- SecurityDescriptor.cs
- CompilerTypeWithParams.cs
- ConnectionPointCookie.cs
- OrderedDictionaryStateHelper.cs
- UIAgentAsyncParams.cs
- NonBatchDirectoryCompiler.cs
- PathSegment.cs
- BulletedListEventArgs.cs
- HelpInfo.cs
- SplitterCancelEvent.cs
- HttpRequest.cs
- HandleCollector.cs
- ControlValuePropertyAttribute.cs
- SupportingTokenProviderSpecification.cs
- MetabaseSettingsIis7.cs
- XamlInterfaces.cs
- CharKeyFrameCollection.cs
- IItemContainerGenerator.cs
- ObjectView.cs
- BitmapEncoder.cs
- StylusShape.cs
- TypeLibConverter.cs
- Point3D.cs
- XmlSchemaDocumentation.cs
- RequiredAttributeAttribute.cs
- FacetDescriptionElement.cs
- DataGridHeaderBorder.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- StorageMappingItemLoader.cs
- AuthenticatedStream.cs
- UnsafeNativeMethods.cs
- JsonEnumDataContract.cs
- ControlCollection.cs
- WrapperEqualityComparer.cs
- RectangleF.cs
- GlyphRun.cs
- QueryResult.cs
- EntityDataSourceDataSelectionPanel.cs
- KeyPressEvent.cs
- OutputScopeManager.cs
- SourceFileInfo.cs
- XmlIncludeAttribute.cs
- PageSettings.cs
- ValueProviderWrapper.cs
- VectorConverter.cs
- ImageSourceValueSerializer.cs
- FormatException.cs
- Vector3DCollectionValueSerializer.cs