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
- ResourceDictionaryCollection.cs
- PersonalizationStateInfo.cs
- ValuePattern.cs
- ObjectHandle.cs
- SoapFault.cs
- ClaimSet.cs
- CompiledRegexRunner.cs
- TimeoutException.cs
- HyperLink.cs
- CollectionChangeEventArgs.cs
- SEHException.cs
- GenericsInstances.cs
- PageCatalogPartDesigner.cs
- FileClassifier.cs
- ItemPager.cs
- DBConcurrencyException.cs
- CompilerCollection.cs
- ExpandSegment.cs
- EditingScopeUndoUnit.cs
- UIElementIsland.cs
- ZoneLinkButton.cs
- EventBindingService.cs
- DataExpression.cs
- TemplateColumn.cs
- Script.cs
- MissingManifestResourceException.cs
- CharEnumerator.cs
- CodeGroup.cs
- AssertFilter.cs
- Exceptions.cs
- ListItemConverter.cs
- AvtEvent.cs
- SqlBulkCopy.cs
- NavigationHelper.cs
- FixedTextView.cs
- IpcManager.cs
- BasePropertyDescriptor.cs
- DateTimeUtil.cs
- StylesEditorDialog.cs
- PackWebRequestFactory.cs
- RadioButtonFlatAdapter.cs
- ProxyHelper.cs
- DataRelationPropertyDescriptor.cs
- RightsManagementLicense.cs
- XmlCharCheckingWriter.cs
- RotateTransform3D.cs
- TransformationRules.cs
- FilteredXmlReader.cs
- HttpPostClientProtocol.cs
- TemplateBuilder.cs
- UnaryOperationBinder.cs
- Vector3DConverter.cs
- SessionStateUtil.cs
- RenderTargetBitmap.cs
- DockingAttribute.cs
- DynamicDocumentPaginator.cs
- QuaternionConverter.cs
- TextOptions.cs
- ReferencedAssembly.cs
- DataGridViewCellValidatingEventArgs.cs
- GridProviderWrapper.cs
- Axis.cs
- Line.cs
- SessionState.cs
- StrokeCollection2.cs
- Function.cs
- WindowsTitleBar.cs
- ReturnValue.cs
- ConfigXmlAttribute.cs
- OutputCacheProfile.cs
- BlurEffect.cs
- MachineKeySection.cs
- CacheMode.cs
- MSAAWinEventWrap.cs
- CodePropertyReferenceExpression.cs
- TraceHandler.cs
- FixedSOMLineRanges.cs
- DataSysAttribute.cs
- ChannelEndpointElement.cs
- IntSecurity.cs
- BehaviorEditorPart.cs
- DoubleMinMaxAggregationOperator.cs
- SimplePropertyEntry.cs
- ByteAnimationUsingKeyFrames.cs
- FunctionNode.cs
- ScriptingJsonSerializationSection.cs
- MenuCommand.cs
- FilteredDataSetHelper.cs
- HtmlAnchor.cs
- MultipleViewProviderWrapper.cs
- ExpressionParser.cs
- HWStack.cs
- WinEventHandler.cs
- ToolStripButton.cs
- Button.cs
- CompilerTypeWithParams.cs
- SHA384Cng.cs
- CodeSnippetTypeMember.cs
- HtmlEncodedRawTextWriter.cs
- XmlNodeChangedEventManager.cs