Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- nulltextcontainer.cs
- MemberAccessException.cs
- TaskFileService.cs
- RadialGradientBrush.cs
- ScrollEvent.cs
- RectangleGeometry.cs
- KeyValueConfigurationElement.cs
- BatchStream.cs
- ConfigurationSchemaErrors.cs
- RandomNumberGenerator.cs
- ComboBoxItem.cs
- PageVisual.cs
- WebPartsPersonalization.cs
- ClrProviderManifest.cs
- Double.cs
- RemotingConfigParser.cs
- ConfigurationSettings.cs
- XPathBinder.cs
- ToolboxComponentsCreatedEventArgs.cs
- TabControlAutomationPeer.cs
- MediaContextNotificationWindow.cs
- CommandLibraryHelper.cs
- DBConcurrencyException.cs
- DataSourceView.cs
- ReflectPropertyDescriptor.cs
- ClientApiGenerator.cs
- ArgIterator.cs
- ListViewItem.cs
- HMACSHA512.cs
- QilInvoke.cs
- EntityContainer.cs
- PopupControlService.cs
- Pair.cs
- WindowProviderWrapper.cs
- FrameworkTextComposition.cs
- PeerNameRegistration.cs
- WSFederationHttpSecurity.cs
- ProcessThreadDesigner.cs
- AnnotationResourceChangedEventArgs.cs
- JavaScriptSerializer.cs
- FontFamily.cs
- CalendarDateRangeChangingEventArgs.cs
- Stack.cs
- HebrewCalendar.cs
- XsltFunctions.cs
- RC2.cs
- AuthenticateEventArgs.cs
- LogStore.cs
- AttributeCollection.cs
- PassportAuthentication.cs
- ModelPropertyCollectionImpl.cs
- DbMetaDataColumnNames.cs
- WorkflowEventArgs.cs
- RtfToken.cs
- SecurityElement.cs
- RequestCachePolicyConverter.cs
- PaintEvent.cs
- StrokeNodeEnumerator.cs
- GiveFeedbackEventArgs.cs
- TemporaryBitmapFile.cs
- XmlTextReaderImplHelpers.cs
- EntityDataReader.cs
- AuthenticationModulesSection.cs
- PolicyLevel.cs
- SoapFaultCodes.cs
- Point4DConverter.cs
- VarRefManager.cs
- WpfWebRequestHelper.cs
- ComponentManagerBroker.cs
- TouchDevice.cs
- BufferedReceiveManager.cs
- CreatingCookieEventArgs.cs
- PositiveTimeSpanValidator.cs
- Viewport2DVisual3D.cs
- FunctionDescription.cs
- NativeMethods.cs
- TypeGeneratedEventArgs.cs
- securitycriticaldata.cs
- safesecurityhelperavalon.cs
- TripleDES.cs
- CurrentChangingEventManager.cs
- OdbcException.cs
- TreeViewImageKeyConverter.cs
- PositiveTimeSpanValidator.cs
- EntityPropertyMappingAttribute.cs
- CriticalFinalizerObject.cs
- QilXmlWriter.cs
- ConnectionAcceptor.cs
- ParserStreamGeometryContext.cs
- FileClassifier.cs
- cookie.cs
- UnsafeNativeMethods.cs
- MethodBuilderInstantiation.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ValidationRuleCollection.cs
- MetadataProperty.cs
- DrawingCollection.cs
- DynamicPhysicalDiscoSearcher.cs
- ReadingWritingEntityEventArgs.cs
- WithParamAction.cs