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
- ProtocolsConfigurationEntry.cs
- MulticastDelegate.cs
- InvalidOperationException.cs
- PropertyEntry.cs
- XhtmlConformanceSection.cs
- WebServiceEnumData.cs
- MultiViewDesigner.cs
- Encoder.cs
- DbgCompiler.cs
- Operand.cs
- PersonalizablePropertyEntry.cs
- mediapermission.cs
- XmlArrayItemAttribute.cs
- HandoffBehavior.cs
- IntSecurity.cs
- EmptyStringExpandableObjectConverter.cs
- EmbeddedMailObjectsCollection.cs
- AppearanceEditorPart.cs
- ClientSideProviderDescription.cs
- ItemCheckEvent.cs
- FaultReason.cs
- TreeNodeConverter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CompilationRelaxations.cs
- CodeTypeReferenceCollection.cs
- NativeMethods.cs
- CanonicalXml.cs
- RoleGroupCollection.cs
- DataGridItem.cs
- BindingSource.cs
- TransformerInfoCollection.cs
- SystemResources.cs
- WSDualHttpSecurityMode.cs
- XmlSchemaGroup.cs
- XmlSignificantWhitespace.cs
- SpinWait.cs
- X509Extension.cs
- HybridDictionary.cs
- IgnoreSection.cs
- PropertyInformationCollection.cs
- ServiceMetadataPublishingElement.cs
- _Rfc2616CacheValidators.cs
- ContentValidator.cs
- EmbeddedObject.cs
- HttpFileCollectionWrapper.cs
- ToolboxItem.cs
- OperatingSystemVersionCheck.cs
- XmlnsDictionary.cs
- AttachedPropertyMethodSelector.cs
- Vars.cs
- NextPreviousPagerField.cs
- DocumentGridContextMenu.cs
- DataGridViewCellMouseEventArgs.cs
- AspCompat.cs
- XmlConverter.cs
- RoutedEventValueSerializer.cs
- WeakEventTable.cs
- PathFigure.cs
- QuerySettings.cs
- LineServicesCallbacks.cs
- TableCell.cs
- HttpValueCollection.cs
- CollectionConverter.cs
- FormsAuthenticationConfiguration.cs
- DiscoveryServerProtocol.cs
- PrintEvent.cs
- XmlSchemaAppInfo.cs
- Visitor.cs
- TabControl.cs
- ClassDataContract.cs
- AmbientEnvironment.cs
- FactoryId.cs
- remotingproxy.cs
- LeafCellTreeNode.cs
- HtmlMobileTextWriter.cs
- WinCategoryAttribute.cs
- ControlBuilder.cs
- OleDbPropertySetGuid.cs
- SiteMapProvider.cs
- ItemContainerGenerator.cs
- DesignerVerb.cs
- WebHttpEndpointElement.cs
- StreamingContext.cs
- UpdateManifestForBrowserApplication.cs
- MouseActionConverter.cs
- exports.cs
- figurelengthconverter.cs
- PasswordBox.cs
- CacheVirtualItemsEvent.cs
- ButtonRenderer.cs
- NameValuePair.cs
- SqlDataSourceCustomCommandEditor.cs
- XmlDocumentFragment.cs
- Simplifier.cs
- Win32Native.cs
- Icon.cs
- EntityDataSourceColumn.cs
- filewebresponse.cs
- SdlChannelSink.cs
- PasswordPropertyTextAttribute.cs