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
- PeerContact.cs
- PinnedBufferMemoryStream.cs
- RequestNavigateEventArgs.cs
- FilterElement.cs
- ResourceReferenceExpressionConverter.cs
- SrgsElementFactoryCompiler.cs
- BooleanStorage.cs
- RenderOptions.cs
- TaiwanCalendar.cs
- TimeSpanMinutesConverter.cs
- MenuItemBinding.cs
- MethodSet.cs
- Util.cs
- ECDiffieHellmanCng.cs
- ServicePoint.cs
- CommandField.cs
- ServiceOperationParameter.cs
- OLEDB_Util.cs
- NotifyInputEventArgs.cs
- WorkflowEventArgs.cs
- CheckBoxBaseAdapter.cs
- WhitespaceRule.cs
- HostProtectionPermission.cs
- ByteAnimationBase.cs
- HandlerMappingMemo.cs
- RegexRunnerFactory.cs
- StoryFragments.cs
- HttpApplicationFactory.cs
- TimeoutValidationAttribute.cs
- _Rfc2616CacheValidators.cs
- XPathParser.cs
- SamlSecurityToken.cs
- EntitySqlException.cs
- BitmapMetadata.cs
- OleDbDataReader.cs
- Send.cs
- DbXmlEnabledProviderManifest.cs
- ComponentSerializationService.cs
- ConfigurationPropertyAttribute.cs
- DynamicMethod.cs
- PageParserFilter.cs
- ToolStripLabel.cs
- StylusPointProperties.cs
- PersonalizationStateInfo.cs
- PageThemeParser.cs
- SafeProcessHandle.cs
- ListItem.cs
- DynamicScriptObject.cs
- MarshalDirectiveException.cs
- ArgumentException.cs
- HttpRequest.cs
- TypeLibConverter.cs
- Permission.cs
- BuildTopDownAttribute.cs
- LocalBuilder.cs
- TypeElement.cs
- EditCommandColumn.cs
- Context.cs
- UdpDuplexChannel.cs
- AssemblySettingAttributes.cs
- Native.cs
- CompilerInfo.cs
- DataGridViewDataConnection.cs
- ConfigXmlSignificantWhitespace.cs
- NonSerializedAttribute.cs
- GlyphShapingProperties.cs
- XmlComment.cs
- SemaphoreFullException.cs
- ListCollectionView.cs
- DateTimeStorage.cs
- BindableTemplateBuilder.cs
- Membership.cs
- ServiceHttpModule.cs
- IPGlobalProperties.cs
- DomNameTable.cs
- FormsAuthenticationCredentials.cs
- TextAnchor.cs
- HtmlTableRowCollection.cs
- HashRepartitionStream.cs
- TextModifierScope.cs
- WebBrowserUriTypeConverter.cs
- CultureSpecificCharacterBufferRange.cs
- ContentValidator.cs
- QueryCacheEntry.cs
- TextProviderWrapper.cs
- SqlServer2KCompatibilityCheck.cs
- SecurityRuntime.cs
- XmlQuerySequence.cs
- KeyEvent.cs
- AnimationTimeline.cs
- ModelItemExtensions.cs
- TextComposition.cs
- WindowsListView.cs
- XmlUrlResolver.cs
- TextTreeTextElementNode.cs
- ResourceReferenceKeyNotFoundException.cs
- NumericUpDown.cs
- ExpressionPrefixAttribute.cs
- CodeExporter.cs
- TextSegment.cs