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
- PictureBoxDesigner.cs
- BuildResultCache.cs
- TTSEvent.cs
- XmlSchemaSimpleContentExtension.cs
- SelectionProcessor.cs
- ServiceHttpHandlerFactory.cs
- StorageEntitySetMapping.cs
- StringKeyFrameCollection.cs
- BitmapData.cs
- Crc32Helper.cs
- FixedSOMPage.cs
- SignatureToken.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ObjectManager.cs
- CompoundFileStorageReference.cs
- MenuAutoFormat.cs
- BaseCAMarshaler.cs
- XamlToRtfParser.cs
- GeneralTransformGroup.cs
- XPathSelectionIterator.cs
- TreeViewCancelEvent.cs
- ConfigurationStrings.cs
- EntityReference.cs
- SingleStorage.cs
- SelectionPatternIdentifiers.cs
- DateTime.cs
- MatrixConverter.cs
- MetadataCache.cs
- MeshGeometry3D.cs
- OleDbMetaDataFactory.cs
- Pens.cs
- Axis.cs
- serverconfig.cs
- Metadata.cs
- ScriptControl.cs
- TargetControlTypeAttribute.cs
- GlobalAllocSafeHandle.cs
- SqlSelectStatement.cs
- AstTree.cs
- PartialArray.cs
- Span.cs
- TextFormatterImp.cs
- StylusPoint.cs
- MobileFormsAuthentication.cs
- XmlDataSourceNodeDescriptor.cs
- CompilerHelpers.cs
- ResourceProperty.cs
- FileDialogCustomPlace.cs
- ContextMenuStripActionList.cs
- FocusTracker.cs
- ContractNamespaceAttribute.cs
- HttpFileCollection.cs
- BindValidationContext.cs
- ItemCollection.cs
- DescendantQuery.cs
- WebPart.cs
- Comparer.cs
- Int16KeyFrameCollection.cs
- LinearQuaternionKeyFrame.cs
- sitestring.cs
- LookupBindingPropertiesAttribute.cs
- ThemeableAttribute.cs
- Button.cs
- BmpBitmapEncoder.cs
- ProjectionPathBuilder.cs
- ILGenerator.cs
- ListSortDescriptionCollection.cs
- ConnectionsZone.cs
- NavigationService.cs
- ObjectDataSourceFilteringEventArgs.cs
- ControlAdapter.cs
- Int32Storage.cs
- ConditionalAttribute.cs
- SmuggledIUnknown.cs
- UrlMappingsModule.cs
- Color.cs
- CodeMemberProperty.cs
- XmlUtil.cs
- BoundPropertyEntry.cs
- CellConstantDomain.cs
- DataGridViewButtonColumn.cs
- EventPropertyMap.cs
- SystemDropShadowChrome.cs
- FixedSOMLineCollection.cs
- InkPresenterAutomationPeer.cs
- Metadata.cs
- OdbcEnvironmentHandle.cs
- TextTrailingCharacterEllipsis.cs
- SortAction.cs
- ArrayList.cs
- OverflowException.cs
- login.cs
- SqlDataSourceStatusEventArgs.cs
- Calendar.cs
- MailAddressCollection.cs
- CapacityStreamGeometryContext.cs
- ImplicitInputBrush.cs
- CheckBox.cs
- CredentialSelector.cs
- ProviderManager.cs