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
- QuaternionAnimation.cs
- EventLogPermissionEntryCollection.cs
- EventProxy.cs
- ProfileService.cs
- AspCompat.cs
- PrtCap_Reader.cs
- MenuAutomationPeer.cs
- MarkupExtensionReturnTypeAttribute.cs
- TypeFieldSchema.cs
- StateMachineHelpers.cs
- MobileTextWriter.cs
- recordstatefactory.cs
- TreeNodeEventArgs.cs
- DataChangedEventManager.cs
- CipherData.cs
- PriorityBinding.cs
- WebPartAddingEventArgs.cs
- OLEDB_Util.cs
- BamlLocalizabilityResolver.cs
- TagNameToTypeMapper.cs
- DataAdapter.cs
- _Semaphore.cs
- ComboBoxRenderer.cs
- CroppedBitmap.cs
- XComponentModel.cs
- ScaleTransform3D.cs
- WindowsSolidBrush.cs
- Rect3D.cs
- PointAnimationUsingPath.cs
- WebBaseEventKeyComparer.cs
- FixedSOMGroup.cs
- XmlNodeList.cs
- TraceXPathNavigator.cs
- LineProperties.cs
- SystemException.cs
- HttpUnhandledOperationInvoker.cs
- EditingMode.cs
- LocatorGroup.cs
- SpanIndex.cs
- DataGridViewBindingCompleteEventArgs.cs
- Codec.cs
- RoutedEventConverter.cs
- GifBitmapDecoder.cs
- DataGridItemEventArgs.cs
- PathSegmentCollection.cs
- TextFindEngine.cs
- Encoder.cs
- XmlExceptionHelper.cs
- CallSiteHelpers.cs
- AdPostCacheSubstitution.cs
- DropShadowBitmapEffect.cs
- DataViewManagerListItemTypeDescriptor.cs
- ISFClipboardData.cs
- ReadOnlyAttribute.cs
- XmlStreamStore.cs
- ObjectAssociationEndMapping.cs
- DebuggerAttributes.cs
- LeaseManager.cs
- StreamedWorkflowDefinitionContext.cs
- PerformanceCountersElement.cs
- StrongTypingException.cs
- WebPartRestoreVerb.cs
- ErrorFormatterPage.cs
- StringDictionaryEditor.cs
- AttributeXamlType.cs
- ToolStripDropDownItem.cs
- MembershipPasswordException.cs
- SiteMapNodeItemEventArgs.cs
- UnSafeCharBuffer.cs
- __Filters.cs
- MappingException.cs
- DataBoundControlHelper.cs
- Operators.cs
- DataObjectMethodAttribute.cs
- EntityDataSourceContainerNameConverter.cs
- HttpChannelBindingToken.cs
- FileInfo.cs
- AssertFilter.cs
- ExpressionReplacer.cs
- DateTimeOffset.cs
- EncodingTable.cs
- ColumnCollection.cs
- EntityDataSource.cs
- CanonicalXml.cs
- TreeNodeEventArgs.cs
- DesignerCommandAdapter.cs
- CodeTypeReferenceCollection.cs
- PagerSettings.cs
- Rfc2898DeriveBytes.cs
- DependencyProperty.cs
- XmlSchemaInfo.cs
- SessionEndingCancelEventArgs.cs
- IDQuery.cs
- PriorityBindingExpression.cs
- DataListGeneralPage.cs
- mediapermission.cs
- ListViewInsertedEventArgs.cs
- NavigationHelper.cs
- wmiprovider.cs
- WindowsFormsHost.cs