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
- MailMessageEventArgs.cs
- SqlCacheDependencySection.cs
- PolicyStatement.cs
- XmlWrappingReader.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- EventHandlerList.cs
- Int64Storage.cs
- exports.cs
- SelectionEditor.cs
- HostVisual.cs
- SamlDoNotCacheCondition.cs
- VerificationAttribute.cs
- DateRangeEvent.cs
- LogStore.cs
- Trace.cs
- SessionPageStatePersister.cs
- TemplateBindingExtension.cs
- CompiledRegexRunnerFactory.cs
- BuildProviderAppliesToAttribute.cs
- ObjectSet.cs
- StartFileNameEditor.cs
- TimeStampChecker.cs
- Buffer.cs
- UserControlDocumentDesigner.cs
- SaveFileDialog.cs
- LayoutEvent.cs
- DataGridColumn.cs
- StorageInfo.cs
- ConnectionManager.cs
- InvalidOleVariantTypeException.cs
- TypeElement.cs
- IsolatedStorageFilePermission.cs
- ImportContext.cs
- Bitmap.cs
- SkinBuilder.cs
- PersonalizationStateInfo.cs
- TTSEvent.cs
- SingleObjectCollection.cs
- ValidationHelpers.cs
- sortedlist.cs
- SafeWaitHandle.cs
- EventLogPermission.cs
- ShaderEffect.cs
- Parser.cs
- SafeNativeMemoryHandle.cs
- MulticastIPAddressInformationCollection.cs
- EventManager.cs
- VisualTarget.cs
- Mappings.cs
- TextElement.cs
- StatusBarPanelClickEvent.cs
- PolicyManager.cs
- Column.cs
- CngProperty.cs
- DataGridViewComboBoxColumn.cs
- ResourceReferenceExpressionConverter.cs
- ServiceRouteHandler.cs
- PieceDirectory.cs
- DataKeyArray.cs
- InputBinding.cs
- QilNode.cs
- HandlerBase.cs
- SchemaElement.cs
- InputLanguageSource.cs
- DataStreamFromComStream.cs
- ToolStripHighContrastRenderer.cs
- ArrayMergeHelper.cs
- KeyboardNavigation.cs
- XmlSchemaIdentityConstraint.cs
- RadioButton.cs
- webclient.cs
- CoTaskMemHandle.cs
- GPPOINT.cs
- ZeroOpNode.cs
- InvalidWMPVersionException.cs
- UserControlBuildProvider.cs
- SqlCommandBuilder.cs
- HtmlSelect.cs
- ReadOnlyCollectionBase.cs
- AVElementHelper.cs
- AspProxy.cs
- DataGridViewSortCompareEventArgs.cs
- StylusEditingBehavior.cs
- SqlMethodAttribute.cs
- CorrelationManager.cs
- SelectionList.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WhitespaceSignificantCollectionAttribute.cs
- OleDbDataReader.cs
- Int16Storage.cs
- HtmlElementEventArgs.cs
- DesignerActionMethodItem.cs
- GetImportFileNameRequest.cs
- SourceInterpreter.cs
- _NTAuthentication.cs
- ProtocolsConfigurationHandler.cs
- ClientSettingsSection.cs
- GetBrowserTokenRequest.cs
- MenuItem.cs
- ListViewPagedDataSource.cs