Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Mapping / ObjectPropertyMapping.cs / 2 / ObjectPropertyMapping.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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 [....], [....] //--------------------------------------------------------------------- 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
- AsyncCodeActivityContext.cs
- UIAgentAsyncEndRequest.cs
- WindowInteractionStateTracker.cs
- ActivityExecutionContext.cs
- pingexception.cs
- StyleSheetRefUrlEditor.cs
- TextElementCollectionHelper.cs
- SamlNameIdentifierClaimResource.cs
- TraceEventCache.cs
- MemoryRecordBuffer.cs
- BinaryFormatter.cs
- ContextMenuStrip.cs
- HttpListenerException.cs
- TextWriterTraceListener.cs
- CookieProtection.cs
- Control.cs
- AbandonedMutexException.cs
- ArithmeticException.cs
- FixedTextContainer.cs
- Style.cs
- SQLInt32Storage.cs
- HtmlElement.cs
- UpnEndpointIdentity.cs
- assertwrapper.cs
- StaticResourceExtension.cs
- FilteredReadOnlyMetadataCollection.cs
- PreservationFileWriter.cs
- EmptyEnumerator.cs
- ItemContainerPattern.cs
- ToolStripDropDown.cs
- IItemProperties.cs
- Inline.cs
- DocumentViewerAutomationPeer.cs
- RequestTimeoutManager.cs
- SharedStatics.cs
- XmlElementList.cs
- RefExpr.cs
- AccessViolationException.cs
- AuthorizationRule.cs
- ConnectorMovedEventArgs.cs
- XhtmlConformanceSection.cs
- ApplicationServiceManager.cs
- SimpleHandlerBuildProvider.cs
- ObjectAnimationUsingKeyFrames.cs
- HttpRequest.cs
- ServiceBehaviorElementCollection.cs
- IDictionary.cs
- ImmutableAssemblyCacheEntry.cs
- TraceUtility.cs
- NonDualMessageSecurityOverHttpElement.cs
- OleCmdHelper.cs
- NavigateUrlConverter.cs
- HandlerFactoryCache.cs
- DecoderExceptionFallback.cs
- DataGridViewColumn.cs
- WorkflowStateRollbackService.cs
- autovalidator.cs
- SemanticValue.cs
- ListBoxItemAutomationPeer.cs
- CloudCollection.cs
- NGCPageContentCollectionSerializerAsync.cs
- SoapFormatExtensions.cs
- MessageDescription.cs
- SafeThreadHandle.cs
- HandleRef.cs
- Currency.cs
- RSAPKCS1KeyExchangeFormatter.cs
- TraceUtils.cs
- ToolStripSettings.cs
- SqlReorderer.cs
- RoutedUICommand.cs
- TemplateBindingExpression.cs
- ByteStack.cs
- AssociatedControlConverter.cs
- BitmapInitialize.cs
- TextSchema.cs
- PageEventArgs.cs
- UnionExpr.cs
- MultiAsyncResult.cs
- ImageSourceConverter.cs
- SecurityTokenTypes.cs
- TemplateControl.cs
- Graphics.cs
- NavigationHelper.cs
- StatusBarDrawItemEvent.cs
- TiffBitmapDecoder.cs
- StateDesigner.cs
- FileDialog.cs
- BasicKeyConstraint.cs
- FillBehavior.cs
- MetabaseServerConfig.cs
- XmlExpressionDumper.cs
- QilLoop.cs
- Setter.cs
- URIFormatException.cs
- SecurityPolicySection.cs
- GridViewRowEventArgs.cs
- CommandLibraryHelper.cs
- _FixedSizeReader.cs
- CmsInterop.cs