Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Objects / ObjectMaterializedEventArgs.cs / 1305376 / ObjectMaterializedEventArgs.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Data.Objects
{
///
/// EventArgs for the ObjectMaterialized event.
///
public class ObjectMaterializedEventArgs : EventArgs
{
///
/// The object that was materialized.
///
private readonly object _entity;
///
/// Constructs new arguments for the ObjectMaterialized event.
///
/// The object that has been materialized.
internal ObjectMaterializedEventArgs(object entity)
{
_entity = entity;
}
///
/// The object that was materialized.
///
public object Entity
{
get { return _entity; }
}
}
///
/// Delegate for the ObjectMaterialized event.
///
/// The ObjectContext responsable for materializing the object.
/// EventArgs containing a reference to the materialized object.
public delegate void ObjectMaterializedEventHandler(object sender, ObjectMaterializedEventArgs e);
}
// 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
- LazyTextWriterCreator.cs
- DependencyPropertyKind.cs
- DynamicControlParameter.cs
- ObjectViewQueryResultData.cs
- ThreadStartException.cs
- Label.cs
- OletxVolatileEnlistment.cs
- codemethodreferenceexpression.cs
- WhileDesigner.xaml.cs
- IndexOutOfRangeException.cs
- PathNode.cs
- BuildManagerHost.cs
- TraceHandler.cs
- RadioButtonList.cs
- TagNameToTypeMapper.cs
- WizardStepBase.cs
- SiteMembershipCondition.cs
- RectangleHotSpot.cs
- RepeaterCommandEventArgs.cs
- GroupQuery.cs
- RightsManagementEncryptionTransform.cs
- DataRelation.cs
- MemberRelationshipService.cs
- RTLAwareMessageBox.cs
- Operator.cs
- WmlCalendarAdapter.cs
- CodeTypeOfExpression.cs
- XslException.cs
- Wildcard.cs
- ASCIIEncoding.cs
- TextSpanModifier.cs
- IDReferencePropertyAttribute.cs
- DefaultTraceListener.cs
- IntSecurity.cs
- DataFormats.cs
- StringHandle.cs
- FullTextLine.cs
- UserInitiatedNavigationPermission.cs
- SimplePropertyEntry.cs
- TracingConnection.cs
- DiscoveryClientProtocol.cs
- ListViewHitTestInfo.cs
- UnsafeNativeMethods.cs
- RegistryPermission.cs
- TdsParser.cs
- ContextCorrelationInitializer.cs
- LinqDataSourceStatusEventArgs.cs
- IgnoreSection.cs
- Debug.cs
- IFlowDocumentViewer.cs
- SqlXml.cs
- DrawingImage.cs
- OracleConnectionFactory.cs
- SessionParameter.cs
- HashMembershipCondition.cs
- ReliableDuplexSessionChannel.cs
- OleDbWrapper.cs
- X509ChainPolicy.cs
- StorageAssociationSetMapping.cs
- TdsParserStaticMethods.cs
- GrammarBuilderDictation.cs
- DockProviderWrapper.cs
- CommonDialog.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- StyleTypedPropertyAttribute.cs
- StateRuntime.cs
- BezierSegment.cs
- Line.cs
- Condition.cs
- TempFiles.cs
- IPipelineRuntime.cs
- PreviewKeyDownEventArgs.cs
- OracleNumber.cs
- DocumentOrderQuery.cs
- securitycriticaldata.cs
- UpDownEvent.cs
- FixedDocument.cs
- CodeGen.cs
- HostedHttpContext.cs
- URLMembershipCondition.cs
- SimpleHandlerBuildProvider.cs
- ImageMap.cs
- ClickablePoint.cs
- Underline.cs
- OuterGlowBitmapEffect.cs
- TimeSpanMinutesConverter.cs
- OletxCommittableTransaction.cs
- UrlAuthFailedErrorFormatter.cs
- GlobalItem.cs
- DataColumnMappingCollection.cs
- WindowsEditBox.cs
- BaseTemplateParser.cs
- PrimaryKeyTypeConverter.cs
- ImageBrush.cs
- PLINQETWProvider.cs
- XmlMapping.cs
- LineVisual.cs
- DayRenderEvent.cs
- PrivateFontCollection.cs
- TypeListConverter.cs