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
- MediaContextNotificationWindow.cs
- XmlSchemaDocumentation.cs
- SelectionPattern.cs
- UIElementHelper.cs
- XmlSerializationGeneratedCode.cs
- ComponentResourceKeyConverter.cs
- DetailsViewPagerRow.cs
- FigureParaClient.cs
- DataServiceSaveChangesEventArgs.cs
- HttpServerProtocol.cs
- PerspectiveCamera.cs
- DataContractSerializerMessageContractImporter.cs
- FunctionOverloadResolver.cs
- ComboBoxAutomationPeer.cs
- PolygonHotSpot.cs
- CompressStream.cs
- KnownIds.cs
- HandlerBase.cs
- AutomationEventArgs.cs
- LastQueryOperator.cs
- sqlnorm.cs
- ResourceReferenceKeyNotFoundException.cs
- MailBnfHelper.cs
- ListViewItemSelectionChangedEvent.cs
- CaseKeyBox.ViewModel.cs
- DataRowComparer.cs
- InvalidAsynchronousStateException.cs
- MeasureData.cs
- UrlPath.cs
- PropertyHelper.cs
- RangeValidator.cs
- RoutedUICommand.cs
- WriterOutput.cs
- PresentationUIStyleResources.cs
- EnumValidator.cs
- DeferredSelectedIndexReference.cs
- RawTextInputReport.cs
- CalloutQueueItem.cs
- DiscoveryEndpointValidator.cs
- Wizard.cs
- ThreadWorkerController.cs
- SurrogateEncoder.cs
- SharedRuntimeState.cs
- ServiceEndpoint.cs
- WebPartZoneBaseDesigner.cs
- JavascriptCallbackResponseProperty.cs
- SizeFConverter.cs
- Win32MouseDevice.cs
- Calendar.cs
- MenuCommand.cs
- OracleConnectionFactory.cs
- loginstatus.cs
- OpenTypeLayout.cs
- ActiveXContainer.cs
- OletxCommittableTransaction.cs
- DataGridViewCheckBoxColumn.cs
- DataTableTypeConverter.cs
- XmlReader.cs
- WindowsButton.cs
- clipboard.cs
- MailHeaderInfo.cs
- XmlValidatingReader.cs
- MbpInfo.cs
- Intellisense.cs
- ChannelBinding.cs
- CompilerTypeWithParams.cs
- XmlDocumentSerializer.cs
- OraclePermission.cs
- TableItemStyle.cs
- ConfigurationSchemaErrors.cs
- CompensationHandlingFilter.cs
- MultiBindingExpression.cs
- TemplatedMailWebEventProvider.cs
- SoapIgnoreAttribute.cs
- coordinator.cs
- InvokeCompletedEventArgs.cs
- Timeline.cs
- SHA1CryptoServiceProvider.cs
- FormsAuthenticationCredentials.cs
- HttpChannelHelpers.cs
- CryptoKeySecurity.cs
- AdornerLayer.cs
- MaterialCollection.cs
- MailAddress.cs
- PropertyGridEditorPart.cs
- Button.cs
- DataSourceSelectArguments.cs
- SafeLocalMemHandle.cs
- ClientSettings.cs
- SubMenuStyleCollectionEditor.cs
- EntityDesignerUtils.cs
- AdCreatedEventArgs.cs
- SharedPersonalizationStateInfo.cs
- UserControl.cs
- DbReferenceCollection.cs
- CodeConstructor.cs
- InputBindingCollection.cs
- TextEncodedRawTextWriter.cs
- GridEntry.cs
- RevocationPoint.cs