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
- UnitySerializationHolder.cs
- TransformCollection.cs
- SerializationStore.cs
- HtmlUtf8RawTextWriter.cs
- MouseBinding.cs
- UshortList2.cs
- ViewEvent.cs
- GridViewRow.cs
- AbsoluteQuery.cs
- TraceLog.cs
- BaseUriHelper.cs
- WindowsGraphicsCacheManager.cs
- BitmapEffectInput.cs
- DataGridViewCellFormattingEventArgs.cs
- UiaCoreApi.cs
- TreeWalker.cs
- WebBrowserContainer.cs
- InternalTransaction.cs
- CipherData.cs
- GridViewCancelEditEventArgs.cs
- TreeViewItem.cs
- ETagAttribute.cs
- ServiceEndpoint.cs
- StateManagedCollection.cs
- WorkflowMarkupSerializerMapping.cs
- SubstitutionResponseElement.cs
- ModelUtilities.cs
- SqlInternalConnectionSmi.cs
- DrawingGroup.cs
- InfoCardBaseException.cs
- StringBlob.cs
- WebPartConnectionsEventArgs.cs
- Literal.cs
- DataGridRow.cs
- RemotingConfigParser.cs
- LambdaCompiler.Lambda.cs
- Application.cs
- COM2PropertyBuilderUITypeEditor.cs
- Conditional.cs
- GroupPartitionExpr.cs
- XmlSerializationReader.cs
- IndexedDataBuffer.cs
- DelegateBodyWriter.cs
- MemberMemberBinding.cs
- StorageAssociationSetMapping.cs
- DataGridViewImageCell.cs
- SiteIdentityPermission.cs
- BinaryMethodMessage.cs
- CanExecuteRoutedEventArgs.cs
- mediaeventargs.cs
- CryptoApi.cs
- DetailsViewPagerRow.cs
- SupportingTokenSecurityTokenResolver.cs
- ArcSegment.cs
- XmlBinaryReader.cs
- ArrangedElement.cs
- ReadOnlyDataSourceView.cs
- RichTextBox.cs
- HiddenField.cs
- CultureTable.cs
- DataStreamFromComStream.cs
- HandlerFactoryWrapper.cs
- MetafileHeader.cs
- Span.cs
- TagMapCollection.cs
- NativeMethodsOther.cs
- X509Certificate2.cs
- TypeDelegator.cs
- WSFederationHttpSecurityMode.cs
- TextSimpleMarkerProperties.cs
- SmtpAuthenticationManager.cs
- SafeJobHandle.cs
- BooleanSwitch.cs
- ScrollEventArgs.cs
- XsltLibrary.cs
- ScrollData.cs
- BitFlagsGenerator.cs
- Win32.cs
- RequiredAttributeAttribute.cs
- SystemResourceKey.cs
- CollectionChangeEventArgs.cs
- KeyEventArgs.cs
- Win32Native.cs
- ItemContainerGenerator.cs
- WebHttpSecurity.cs
- AstTree.cs
- HtmlElementCollection.cs
- EmbeddedMailObject.cs
- Point.cs
- InputLanguage.cs
- WebPartUtil.cs
- EventItfInfo.cs
- BookmarkEventArgs.cs
- ObjectListComponentEditor.cs
- PersonalizableAttribute.cs
- TraceHandler.cs
- DefaultBinder.cs
- TextServicesHost.cs
- NumericPagerField.cs
- OracleParameterBinding.cs