Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / EntityDescriptor.cs / 1 / EntityDescriptor.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// represents the object and state // //--------------------------------------------------------------------- namespace System.Data.Services.Client { ////// represents the cached entity /// public sealed class EntityDescriptor : Descriptor { ///entity private readonly object entity; ///entity tag private readonly string etag; ////// constructor /// /// entity /// etag /// entity state internal EntityDescriptor(object entity, string etag, EntityStates state) : base(state) { this.entity = entity; this.etag = etag ?? String.Empty; } ///entity public object Entity { get { return this.entity; } } ///etag public string ETag { get { return this.etag; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// represents the object and state // //--------------------------------------------------------------------- namespace System.Data.Services.Client { ////// represents the cached entity /// public sealed class EntityDescriptor : Descriptor { ///entity private readonly object entity; ///entity tag private readonly string etag; ////// constructor /// /// entity /// etag /// entity state internal EntityDescriptor(object entity, string etag, EntityStates state) : base(state) { this.entity = entity; this.etag = etag ?? String.Empty; } ///entity public object Entity { get { return this.entity; } } ///etag public string ETag { get { return this.etag; } } } } // 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
- ScrollBar.cs
- PixelFormats.cs
- ColumnWidthChangingEvent.cs
- CustomTypeDescriptor.cs
- SqlUdtInfo.cs
- path.cs
- EntityDesignerDataSourceView.cs
- CertificateElement.cs
- EntityTypeBase.cs
- SafeNativeMethods.cs
- ListChunk.cs
- ResetableIterator.cs
- EnlistmentState.cs
- Soap.cs
- MetabaseSettingsIis7.cs
- safelink.cs
- SessionStateModule.cs
- SliderAutomationPeer.cs
- CellQuery.cs
- ConfigurationElement.cs
- ContextMenu.cs
- WindowsFormsLinkLabel.cs
- MouseEventArgs.cs
- DataSourceControlBuilder.cs
- Context.cs
- WbmpConverter.cs
- TransactionChannel.cs
- ErrorTableItemStyle.cs
- dsa.cs
- NameGenerator.cs
- LocationSectionRecord.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- infer.cs
- ADMembershipUser.cs
- BitStack.cs
- DataGridViewTextBoxColumn.cs
- ToolBarPanel.cs
- EntityDataSourceDataSelection.cs
- Sorting.cs
- ComPlusServiceHost.cs
- figurelengthconverter.cs
- CodeBlockBuilder.cs
- BrowserDefinitionCollection.cs
- XmlComplianceUtil.cs
- WorkflowExecutor.cs
- GeneralTransformGroup.cs
- EnvelopeVersion.cs
- CompiledELinqQueryState.cs
- MarkupCompiler.cs
- ExpressionNode.cs
- UserControlParser.cs
- InstanceHandleReference.cs
- MDIClient.cs
- ReflectionTypeLoadException.cs
- SingleStorage.cs
- WindowsGraphics2.cs
- TrustExchangeException.cs
- UIElement3DAutomationPeer.cs
- connectionpool.cs
- XmlNamedNodeMap.cs
- RotateTransform3D.cs
- PackageRelationshipSelector.cs
- ListBindableAttribute.cs
- Command.cs
- SourceInterpreter.cs
- SchemaNotation.cs
- FormatStringEditor.cs
- XmlImplementation.cs
- RightsController.cs
- WebConfigurationFileMap.cs
- WS2007HttpBindingElement.cs
- CalloutQueueItem.cs
- Translator.cs
- StoryFragments.cs
- SafeUserTokenHandle.cs
- ResourceReferenceExpression.cs
- AstNode.cs
- CompositeActivityCodeGenerator.cs
- securestring.cs
- WebPartVerb.cs
- SchemaTableOptionalColumn.cs
- XmlComplianceUtil.cs
- LoginName.cs
- TriggerCollection.cs
- WorkflowDurableInstance.cs
- XmlRootAttribute.cs
- DocumentOrderQuery.cs
- DeclarativeConditionsCollection.cs
- PagerSettings.cs
- FormsAuthenticationModule.cs
- ProtocolElement.cs
- TemplateFactory.cs
- TransformerInfo.cs
- Camera.cs
- StreamGeometry.cs
- RequestStatusBarUpdateEventArgs.cs
- XsltInput.cs
- SoapIncludeAttribute.cs
- ToolStripDropDown.cs
- StyleHelper.cs