Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Objects / Internal / LazyLoadBehavior.cs / 1305376 / LazyLoadBehavior.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Security;
using System.Security.Permissions;
using System.Data.Metadata.Edm;
using System.Data.Objects.DataClasses;
using System.Collections;
namespace System.Data.Objects.Internal
{
///
/// Defines and injects behavior into proxy class Type definitions
/// to allow navigation properties to lazily load their references or collection elements.
///
internal sealed class LazyLoadBehavior
{
///
/// Return an expression tree that represents the actions required to load the related end
/// associated with the intercepted proxy member.
///
///
/// EdmMember that specifies the member to be intercepted.
///
///
/// PropertyInfo that specifies the CLR property to be intercepted.
///
///
/// ParameterExpression that represents the proxy object.
///
///
/// ParameterExpression that represents the proxied property value.
///
/// The Func that retrieves the wrapper from a proxy
///
/// Expression tree that encapsulates lazy loading behavior for the supplied member,
/// or null if the expression tree could not be constructed.
///
internal static Func GetInterceptorDelegate(EdmMember member, Func
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TraceInternal.cs
- TagMapInfo.cs
- ProgressBar.cs
- QueueProcessor.cs
- AnchoredBlock.cs
- TypeDescriptor.cs
- DesignerActionTextItem.cs
- DynamicPropertyHolder.cs
- TextPointerBase.cs
- RoutedEventArgs.cs
- FillBehavior.cs
- DescendentsWalkerBase.cs
- HandleValueEditor.cs
- ListParaClient.cs
- FloaterParaClient.cs
- ParameterCollection.cs
- EmptyElement.cs
- ViewCellSlot.cs
- cookieexception.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- PrimitiveXmlSerializers.cs
- ConfigXmlText.cs
- PrimitiveCodeDomSerializer.cs
- DataGridViewCellStyle.cs
- BaseProcessor.cs
- AbandonedMutexException.cs
- altserialization.cs
- PublishLicense.cs
- DocumentCollection.cs
- ObjectReferenceStack.cs
- BitmapPalette.cs
- BitmapCache.cs
- HyperLinkDesigner.cs
- TemplateInstanceAttribute.cs
- PrimitiveCodeDomSerializer.cs
- SemanticResolver.cs
- FloaterParaClient.cs
- ConversionHelper.cs
- StaticExtension.cs
- SerializationObjectManager.cs
- HostingPreferredMapPath.cs
- ToolStripItemTextRenderEventArgs.cs
- SQlBooleanStorage.cs
- CopyOnWriteList.cs
- WebConfigurationHostFileChange.cs
- PeerEndPoint.cs
- PackageRelationship.cs
- Win32Exception.cs
- SettingsContext.cs
- PackageRelationshipCollection.cs
- Math.cs
- XmlNamespaceDeclarationsAttribute.cs
- TemplatedWizardStep.cs
- LinkConverter.cs
- ConstraintStruct.cs
- CreateParams.cs
- DecimalConverter.cs
- PrintEvent.cs
- ToolZone.cs
- TypeUnloadedException.cs
- ClientConfigurationHost.cs
- BaseTemplateParser.cs
- OutKeywords.cs
- DocumentPageTextView.cs
- CopyCodeAction.cs
- PointHitTestResult.cs
- Int64Converter.cs
- MarginsConverter.cs
- MenuStrip.cs
- CompositeFontInfo.cs
- Vertex.cs
- RTLAwareMessageBox.cs
- BufferedStream2.cs
- GlyphingCache.cs
- DateTimeParse.cs
- InfoCardAsymmetricCrypto.cs
- WebControl.cs
- SoapAttributes.cs
- QilStrConcat.cs
- ItemsControlAutomationPeer.cs
- SignatureHelper.cs
- ComboBox.cs
- XmlIlGenerator.cs
- Transform.cs
- ServiceObjectContainer.cs
- MetabaseServerConfig.cs
- TouchFrameEventArgs.cs
- XslAst.cs
- ConditionalAttribute.cs
- GenericEnumerator.cs
- Trigger.cs
- typedescriptorpermission.cs
- mediaeventargs.cs
- PrimitiveXmlSerializers.cs
- XmlIterators.cs
- PopOutPanel.cs
- HttpListenerResponse.cs
- SecurityTokenException.cs
- AssociatedControlConverter.cs
- XPathParser.cs