Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- PrivilegeNotHeldException.cs
- RelationshipConverter.cs
- OleDbMetaDataFactory.cs
- HtmlForm.cs
- RtfFormatStack.cs
- PartDesigner.cs
- Header.cs
- CryptoApi.cs
- JournalNavigationScope.cs
- DependencyObjectCodeDomSerializer.cs
- SolidBrush.cs
- ColumnMap.cs
- SimpleFileLog.cs
- StringValidatorAttribute.cs
- _WebProxyDataBuilder.cs
- XPathDocumentBuilder.cs
- RunClient.cs
- DBSqlParser.cs
- SpotLight.cs
- StrokeNodeOperations2.cs
- ExtendedPropertyDescriptor.cs
- Codec.cs
- SmiRecordBuffer.cs
- SqlReferenceCollection.cs
- InvalidCastException.cs
- SpanIndex.cs
- altserialization.cs
- objectquery_tresulttype.cs
- RadioButtonFlatAdapter.cs
- MailMessage.cs
- PropertyNames.cs
- DateTimeParse.cs
- StructuredType.cs
- EFAssociationProvider.cs
- ListParagraph.cs
- UriTemplateClientFormatter.cs
- DesignerTextWriter.cs
- SetterTriggerConditionValueConverter.cs
- XmlTextWriter.cs
- SQLMoneyStorage.cs
- ObjectAnimationUsingKeyFrames.cs
- DeviceContext.cs
- IdentityHolder.cs
- DeploymentSection.cs
- MatrixCamera.cs
- TemplateControlBuildProvider.cs
- DomNameTable.cs
- QilStrConcat.cs
- FixedSOMPageElement.cs
- HTTPNotFoundHandler.cs
- SqlClientFactory.cs
- XmlNodeList.cs
- MailBnfHelper.cs
- Accessors.cs
- XmlSchemaSubstitutionGroup.cs
- SupportsPreviewControlAttribute.cs
- X509IssuerSerialKeyIdentifierClause.cs
- EntityTemplateUserControl.cs
- SerializationEventsCache.cs
- HtmlListAdapter.cs
- AttributeTable.cs
- Region.cs
- UIElementAutomationPeer.cs
- DelimitedListTraceListener.cs
- BamlMapTable.cs
- XmlDocument.cs
- Ticks.cs
- Int32.cs
- WaitingCursor.cs
- _DynamicWinsockMethods.cs
- CreateUserErrorEventArgs.cs
- Context.cs
- CompositeActivityDesigner.cs
- OleDbErrorCollection.cs
- MonitorWrapper.cs
- QilDataSource.cs
- XmlToDatasetMap.cs
- ObjectStateManager.cs
- GlyphsSerializer.cs
- NativeMethods.cs
- Completion.cs
- PrintDialog.cs
- DeviceContext.cs
- ConfigXmlDocument.cs
- SuppressIldasmAttribute.cs
- DataListItemEventArgs.cs
- Scheduler.cs
- ReadOnlyPropertyMetadata.cs
- IssuerInformation.cs
- ExtendedPropertyDescriptor.cs
- XmlHierarchicalDataSourceView.cs
- BindingNavigatorDesigner.cs
- RelatedPropertyManager.cs
- precedingquery.cs
- TextBox.cs
- MetadataItemCollectionFactory.cs
- RoleService.cs
- HttpCachePolicy.cs
- Timer.cs
- DataBoundControlAdapter.cs