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
- XmlSchema.cs
- GlyphElement.cs
- MenuItemCollection.cs
- UTF8Encoding.cs
- DataGridViewCellParsingEventArgs.cs
- EmptyControlCollection.cs
- validationstate.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ADConnectionHelper.cs
- CheckoutException.cs
- Win32.cs
- BezierSegment.cs
- TextBoxAutoCompleteSourceConverter.cs
- QueryConverter.cs
- CroppedBitmap.cs
- Typeface.cs
- XmlWriterSettings.cs
- ValidatorAttribute.cs
- CubicEase.cs
- LoginViewDesigner.cs
- IndexedWhereQueryOperator.cs
- HttpCookiesSection.cs
- FixUp.cs
- CrossSiteScriptingValidation.cs
- DocumentEventArgs.cs
- CharEnumerator.cs
- ThicknessAnimationUsingKeyFrames.cs
- ExtendedProtectionPolicyTypeConverter.cs
- TextTreeUndoUnit.cs
- DependencyObjectPropertyDescriptor.cs
- XmlAutoDetectWriter.cs
- ObjectDataSourceSelectingEventArgs.cs
- ButtonColumn.cs
- ResourceDisplayNameAttribute.cs
- MarshalByRefObject.cs
- DoubleCollectionValueSerializer.cs
- ColumnMapProcessor.cs
- PageCopyCount.cs
- DynamicQueryableWrapper.cs
- ReadOnlyPropertyMetadata.cs
- TableItemStyle.cs
- EntityModelBuildProvider.cs
- NetMsmqBindingElement.cs
- BuildResultCache.cs
- OleDbDataReader.cs
- COM2ExtendedUITypeEditor.cs
- IndentedTextWriter.cs
- SqlDependencyUtils.cs
- PackageRelationshipSelector.cs
- WebConfigurationHost.cs
- LicenseProviderAttribute.cs
- Normalization.cs
- DragDeltaEventArgs.cs
- KnownBoxes.cs
- StateRuntime.cs
- HtmlGenericControl.cs
- WhiteSpaceTrimStringConverter.cs
- DynamicResourceExtension.cs
- SystemIPInterfaceStatistics.cs
- ListViewAutomationPeer.cs
- DbProviderConfigurationHandler.cs
- NativeWindow.cs
- ComplexPropertyEntry.cs
- Figure.cs
- TimestampInformation.cs
- DispatcherObject.cs
- AttachedAnnotationChangedEventArgs.cs
- SpecularMaterial.cs
- RoutedUICommand.cs
- OnOperation.cs
- FunctionMappingTranslator.cs
- VectorCollection.cs
- SqlInternalConnectionSmi.cs
- ConsumerConnectionPoint.cs
- MapPathBasedVirtualPathProvider.cs
- DispatcherOperation.cs
- BindingsCollection.cs
- ReferenceConverter.cs
- VirtualizingStackPanel.cs
- SymbolEqualComparer.cs
- ColorIndependentAnimationStorage.cs
- ResourceContainer.cs
- HtmlInputControl.cs
- WindowsPrincipal.cs
- Label.cs
- SessionStateContainer.cs
- ListSortDescriptionCollection.cs
- ELinqQueryState.cs
- ExpressionBinding.cs
- SymmetricKeyWrap.cs
- QueryableDataSourceHelper.cs
- BaseContextMenu.cs
- WebErrorHandler.cs
- ControlCollection.cs
- GeneralTransform2DTo3DTo2D.cs
- XmlBuffer.cs
- DataKey.cs
- ObjectFullSpanRewriter.cs
- MediaElement.cs
- MessageBox.cs