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
- TypeRefElement.cs
- AsyncCodeActivityContext.cs
- QilStrConcat.cs
- AtomMaterializerLog.cs
- HtmlEmptyTagControlBuilder.cs
- EdmError.cs
- ResourceAttributes.cs
- HttpGetProtocolReflector.cs
- AsymmetricKeyExchangeDeformatter.cs
- GeneralTransform3DTo2DTo3D.cs
- Ipv6Element.cs
- OneOf.cs
- TypeInformation.cs
- SqlProviderManifest.cs
- MobileControlDesigner.cs
- SubtreeProcessor.cs
- IPAddress.cs
- ComplexBindingPropertiesAttribute.cs
- FontStretchConverter.cs
- ExecutorLocksHeldException.cs
- WindowsGraphicsCacheManager.cs
- TransformerInfo.cs
- WebPartAuthorizationEventArgs.cs
- BitmapEffectDrawingContent.cs
- DataPagerField.cs
- MonitoringDescriptionAttribute.cs
- EntityReference.cs
- ToolStripDropDownMenu.cs
- JsonFormatWriterGenerator.cs
- TreeNode.cs
- UnsafeNativeMethods.cs
- DataGridViewToolTip.cs
- ScriptingWebServicesSectionGroup.cs
- UIElement.cs
- NamespaceList.cs
- MonikerUtility.cs
- DataSvcMapFile.cs
- StringAttributeCollection.cs
- WebExceptionStatus.cs
- NavigationEventArgs.cs
- MeshGeometry3D.cs
- DynamicControl.cs
- LinkGrep.cs
- PropertyMetadata.cs
- CodeAttachEventStatement.cs
- AccessDataSource.cs
- GrammarBuilderRuleRef.cs
- UndirectedGraph.cs
- RecognizeCompletedEventArgs.cs
- SR.Designer.cs
- SecureUICommand.cs
- nulltextnavigator.cs
- PropertyNames.cs
- ExpandCollapsePattern.cs
- OracleMonthSpan.cs
- DesignerActionUIStateChangeEventArgs.cs
- LocationReference.cs
- FacetDescription.cs
- DbConnectionPoolIdentity.cs
- GenericTypeParameterConverter.cs
- XhtmlTextWriter.cs
- TypedRowGenerator.cs
- ListBindableAttribute.cs
- BinaryObjectReader.cs
- CriticalHandle.cs
- FileCodeGroup.cs
- XmlQualifiedNameTest.cs
- coordinatorfactory.cs
- ThreadExceptionEvent.cs
- EntityContainer.cs
- Aggregates.cs
- ResourceSetExpression.cs
- WsdlBuildProvider.cs
- SmiTypedGetterSetter.cs
- SpeechRecognizer.cs
- StrokeDescriptor.cs
- Number.cs
- CodeSnippetStatement.cs
- LicenseContext.cs
- UTF7Encoding.cs
- FixedLineResult.cs
- RowVisual.cs
- MimeTypeMapper.cs
- UserControlCodeDomTreeGenerator.cs
- InvalidCastException.cs
- Vector3D.cs
- WebPartEditVerb.cs
- OracleInternalConnection.cs
- IntPtr.cs
- GAC.cs
- BooleanExpr.cs
- AbsoluteQuery.cs
- SettingsBase.cs
- PriorityQueue.cs
- TreeWalkHelper.cs
- UnauthorizedAccessException.cs
- ParallelLoopState.cs
- XPathScanner.cs
- MobileUserControl.cs
- CookielessHelper.cs