Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / EntityDescriptor.cs / 3 / 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
- AppDomainManager.cs
- FileInfo.cs
- InputDevice.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SimpleMailWebEventProvider.cs
- AppSecurityManager.cs
- Timer.cs
- BeginEvent.cs
- IncomingWebResponseContext.cs
- OdbcEnvironmentHandle.cs
- WebInvokeAttribute.cs
- EventRecord.cs
- DataSetViewSchema.cs
- TypeExtensionSerializer.cs
- DecimalKeyFrameCollection.cs
- NetWebProxyFinder.cs
- NumberSubstitution.cs
- ReferenceEqualityComparer.cs
- Collection.cs
- SchemaManager.cs
- InstanceDescriptor.cs
- UiaCoreApi.cs
- OrderedDictionary.cs
- SliderAutomationPeer.cs
- UInt16Converter.cs
- DataServiceQueryProvider.cs
- DockProviderWrapper.cs
- Style.cs
- SystemNetworkInterface.cs
- GetPageCompletedEventArgs.cs
- Exceptions.cs
- cookiecollection.cs
- InfiniteTimeSpanConverter.cs
- QilNode.cs
- CodeCompileUnit.cs
- FormsAuthenticationEventArgs.cs
- WinInetCache.cs
- MeshGeometry3D.cs
- OutputCacheSection.cs
- DataTableCollection.cs
- ProjectionCamera.cs
- WorkflowViewService.cs
- DescendantQuery.cs
- ColorKeyFrameCollection.cs
- SecurityStateEncoder.cs
- SkinBuilder.cs
- SerializationBinder.cs
- xmlsaver.cs
- ObjectListDataBindEventArgs.cs
- FormatSettings.cs
- SecurityUtils.cs
- DictationGrammar.cs
- DodSequenceMerge.cs
- RSAPKCS1SignatureDeformatter.cs
- StorageScalarPropertyMapping.cs
- Thickness.cs
- DataBoundControlActionList.cs
- TextPointer.cs
- UnhandledExceptionEventArgs.cs
- MetadataItemCollectionFactory.cs
- DynamicDataRouteHandler.cs
- MexHttpBindingElement.cs
- WindowsGraphics2.cs
- PageContentAsyncResult.cs
- SamlAttribute.cs
- TextBlock.cs
- GridEntryCollection.cs
- ParserExtension.cs
- StylusCollection.cs
- HttpStaticObjectsCollectionWrapper.cs
- UriTemplateTrieLocation.cs
- TitleStyle.cs
- FixedHyperLink.cs
- Utils.cs
- ThreadAttributes.cs
- NameTable.cs
- UnauthorizedWebPart.cs
- LineServicesRun.cs
- ClientUrlResolverWrapper.cs
- ValidatingReaderNodeData.cs
- CheckBoxList.cs
- IgnoreSection.cs
- SQLInt64.cs
- ErrorsHelper.cs
- Classification.cs
- MD5CryptoServiceProvider.cs
- DecoderReplacementFallback.cs
- ControlUtil.cs
- LogWriteRestartAreaAsyncResult.cs
- DocumentPropertiesDialog.cs
- printdlgexmarshaler.cs
- UrlMapping.cs
- COM2ExtendedBrowsingHandler.cs
- LinqExpressionNormalizer.cs
- WebColorConverter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- EntityCommandCompilationException.cs
- DataBindEngine.cs
- TextDecoration.cs
- MaterialGroup.cs