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
- InfoCardClaimCollection.cs
- EncoderNLS.cs
- UncommonField.cs
- SchemaElement.cs
- HwndSource.cs
- IndependentAnimationStorage.cs
- EventDescriptorCollection.cs
- CachedBitmap.cs
- ItemContainerGenerator.cs
- PingOptions.cs
- RedistVersionInfo.cs
- ConfigXmlAttribute.cs
- RemoveStoryboard.cs
- BinaryConverter.cs
- HyperLinkField.cs
- PowerModeChangedEventArgs.cs
- ItemCollection.cs
- ColorTranslator.cs
- SemaphoreSecurity.cs
- SQLGuid.cs
- CommonDialog.cs
- XmlSchemaGroupRef.cs
- ProcessInfo.cs
- ObjRef.cs
- IdentityHolder.cs
- ParameterModifier.cs
- RequestCacheEntry.cs
- SrgsRule.cs
- SerializationFieldInfo.cs
- HitTestFilterBehavior.cs
- DataDocumentXPathNavigator.cs
- ElasticEase.cs
- _DigestClient.cs
- ControlPersister.cs
- XpsSerializationException.cs
- SqlRemoveConstantOrderBy.cs
- FontWeight.cs
- HtmlElementCollection.cs
- MonthCalendar.cs
- DataListItemEventArgs.cs
- ControlIdConverter.cs
- TakeQueryOptionExpression.cs
- CollectionExtensions.cs
- SqlWebEventProvider.cs
- ObjectListDesigner.cs
- ObservableCollection.cs
- SqlRetyper.cs
- PageRequestManager.cs
- FontEmbeddingManager.cs
- ProviderException.cs
- Validator.cs
- ActivityInfo.cs
- DataGridViewCellLinkedList.cs
- Win32MouseDevice.cs
- X509ChainPolicy.cs
- GradientSpreadMethodValidation.cs
- SystemDiagnosticsSection.cs
- DbReferenceCollection.cs
- ListParaClient.cs
- PreviousTrackingServiceAttribute.cs
- Util.cs
- BaseAddressPrefixFilterElement.cs
- SrgsElementList.cs
- Focus.cs
- DataControlLinkButton.cs
- InternalUserCancelledException.cs
- OdbcConnectionFactory.cs
- TemplateEditingService.cs
- LayoutManager.cs
- RectAnimationClockResource.cs
- LayoutEditorPart.cs
- CultureInfo.cs
- ListViewEditEventArgs.cs
- ReferenceService.cs
- PaperSource.cs
- COM2IPerPropertyBrowsingHandler.cs
- IItemContainerGenerator.cs
- SqlPersonalizationProvider.cs
- OdbcHandle.cs
- AuthenticateEventArgs.cs
- InProcStateClientManager.cs
- dataobject.cs
- configsystem.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- AdapterUtil.cs
- StorageMappingItemLoader.cs
- RuleAttributes.cs
- HttpCacheVaryByContentEncodings.cs
- FrameworkElementAutomationPeer.cs
- ProcessThread.cs
- EventWaitHandleSecurity.cs
- Normalization.cs
- CodeTypeReference.cs
- PermissionListSet.cs
- ObjectTypeMapping.cs
- WebEventCodes.cs
- QueryAsyncResult.cs
- DataGridColumn.cs
- TemplateBindingExtensionConverter.cs
- HttpProcessUtility.cs