Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / ObjectPropertyMapping.cs / 1305376 / ObjectPropertyMapping.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 OC member maps. /// internal class ObjectPropertyMapping: ObjectMemberMapping { #region Constructors ////// Constrcut a new member mapping metadata object /// /// /// internal ObjectPropertyMapping(EdmProperty edmProperty, EdmProperty clrProperty) : base(edmProperty, clrProperty) { } #endregion #region Properties ////// The PropertyMetadata object that represents the Clr member for which mapping is being specified /// internal EdmProperty ClrProperty { get { return (EdmProperty)this.ClrMember; } } ////// return the member mapping kind /// internal override MemberMappingKind MemberMappingKind { get { return MemberMappingKind.ScalarPropertyMapping; } } #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 OC member maps. /// internal class ObjectPropertyMapping: ObjectMemberMapping { #region Constructors ////// Constrcut a new member mapping metadata object /// /// /// internal ObjectPropertyMapping(EdmProperty edmProperty, EdmProperty clrProperty) : base(edmProperty, clrProperty) { } #endregion #region Properties ////// The PropertyMetadata object that represents the Clr member for which mapping is being specified /// internal EdmProperty ClrProperty { get { return (EdmProperty)this.ClrMember; } } ////// return the member mapping kind /// internal override MemberMappingKind MemberMappingKind { get { return MemberMappingKind.ScalarPropertyMapping; } } #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
- Int64AnimationUsingKeyFrames.cs
- tooltip.cs
- DiagnosticsConfiguration.cs
- ErrorRuntimeConfig.cs
- IconHelper.cs
- HtmlElementCollection.cs
- UserControl.cs
- StateChangeEvent.cs
- NamespaceEmitter.cs
- RSAOAEPKeyExchangeFormatter.cs
- SecondaryIndexDefinition.cs
- ToolboxBitmapAttribute.cs
- UnsafeNativeMethods.cs
- BooleanKeyFrameCollection.cs
- PerfCounterSection.cs
- HostingPreferredMapPath.cs
- TextRangeEditLists.cs
- TypePresenter.xaml.cs
- RadialGradientBrush.cs
- WebColorConverter.cs
- DynamicResourceExtensionConverter.cs
- TextReader.cs
- ImageInfo.cs
- CodeVariableDeclarationStatement.cs
- WinHttpWebProxyFinder.cs
- SystemIPInterfaceProperties.cs
- BigInt.cs
- ThrowHelper.cs
- CompiledRegexRunnerFactory.cs
- AdPostCacheSubstitution.cs
- Single.cs
- XmlBoundElement.cs
- StreamInfo.cs
- QueryStringParameter.cs
- ObjectListSelectEventArgs.cs
- GorillaCodec.cs
- Table.cs
- WinEventHandler.cs
- ObjectStateEntryDbDataRecord.cs
- ValueTypeFixupInfo.cs
- Vector3DCollectionValueSerializer.cs
- PasswordValidationException.cs
- WebPartsPersonalizationAuthorization.cs
- FontSource.cs
- sqlnorm.cs
- TemplatePartAttribute.cs
- OdbcErrorCollection.cs
- TraceProvider.cs
- FontWeights.cs
- UmAlQuraCalendar.cs
- ScriptIgnoreAttribute.cs
- WorkflowEnvironment.cs
- DateTimeOffset.cs
- DependencyObjectPropertyDescriptor.cs
- SessionState.cs
- AuthenticationSection.cs
- ConnectionString.cs
- FloaterParaClient.cs
- DoubleLinkList.cs
- PaperSource.cs
- Rectangle.cs
- VerificationException.cs
- ColorAnimationUsingKeyFrames.cs
- ColorConvertedBitmap.cs
- PreviewPageInfo.cs
- DataGridViewSelectedCellCollection.cs
- TreeView.cs
- PropertyChangedEventArgs.cs
- Rotation3D.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- WebEventCodes.cs
- PerformanceCounterLib.cs
- FormViewInsertedEventArgs.cs
- DictionaryEntry.cs
- BindingSource.cs
- ListBoxItemWrapperAutomationPeer.cs
- CommentGlyph.cs
- MutexSecurity.cs
- PathSegmentCollection.cs
- Label.cs
- LocationEnvironment.cs
- Logging.cs
- DictionarySectionHandler.cs
- CapabilitiesState.cs
- StructuredTypeEmitter.cs
- ServiceInfoCollection.cs
- ImageIndexConverter.cs
- UriTemplateCompoundPathSegment.cs
- StyleSelector.cs
- EmissiveMaterial.cs
- PageStatePersister.cs
- ListViewItemMouseHoverEvent.cs
- WebDescriptionAttribute.cs
- FormsAuthenticationCredentials.cs
- StringInfo.cs
- FileSystemEventArgs.cs
- CommandBinding.cs
- DefinitionUpdate.cs
- VirtualPath.cs
- HandlerWithFactory.cs