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
- WebPartConnectionsCloseVerb.cs
- CellTreeNodeVisitors.cs
- TypographyProperties.cs
- AssociationTypeEmitter.cs
- LabelInfo.cs
- DelegateArgument.cs
- Pair.cs
- XmlValidatingReader.cs
- FileReservationCollection.cs
- DataGridItemCollection.cs
- XmlLoader.cs
- Reference.cs
- CodeAccessPermission.cs
- IncomingWebResponseContext.cs
- XPathDocumentBuilder.cs
- ApplicationSecurityManager.cs
- HealthMonitoringSectionHelper.cs
- EventToken.cs
- ContainerUtilities.cs
- NameTable.cs
- MonthChangedEventArgs.cs
- ManifestResourceInfo.cs
- AssemblyAssociatedContentFileAttribute.cs
- SHA256CryptoServiceProvider.cs
- UnsafeNativeMethods.cs
- XXXOnTypeBuilderInstantiation.cs
- BinaryReader.cs
- PersonalizationState.cs
- Metafile.cs
- SurrogateChar.cs
- DateTimeFormat.cs
- SamlSubjectStatement.cs
- PackageFilter.cs
- ListBindingHelper.cs
- DbExpressionVisitor.cs
- LoginView.cs
- DataServiceResponse.cs
- util.cs
- DesignTimeParseData.cs
- PropertyBuilder.cs
- UrlPath.cs
- HtmlElementEventArgs.cs
- serverconfig.cs
- TdsParameterSetter.cs
- XmlTextReaderImplHelpers.cs
- OleDbConnectionInternal.cs
- xmlformatgeneratorstatics.cs
- DataSourceControl.cs
- CanExecuteRoutedEventArgs.cs
- XhtmlBasicListAdapter.cs
- EditorOptionAttribute.cs
- BamlBinaryReader.cs
- Tuple.cs
- ResourceReader.cs
- FormViewRow.cs
- StyleBamlTreeBuilder.cs
- BidOverLoads.cs
- GetPageCompletedEventArgs.cs
- TrackingConditionCollection.cs
- ResourceCategoryAttribute.cs
- ControlBuilderAttribute.cs
- PackageDigitalSignature.cs
- Options.cs
- RowToFieldTransformer.cs
- TrueReadOnlyCollection.cs
- StorageMappingItemLoader.cs
- ConfigurationProperty.cs
- DrawItemEvent.cs
- CfgParser.cs
- TouchDevice.cs
- securestring.cs
- TemplateBuilder.cs
- Brush.cs
- ComAwareEventInfo.cs
- InArgument.cs
- RequestChannelBinder.cs
- CachedPathData.cs
- EventDescriptorCollection.cs
- WindowVisualStateTracker.cs
- EntityContainerRelationshipSetEnd.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DispatcherTimer.cs
- PackageRelationshipCollection.cs
- RectAnimationClockResource.cs
- SimpleFileLog.cs
- FlagsAttribute.cs
- ToolStripRenderer.cs
- TableLayoutCellPaintEventArgs.cs
- UpDownBaseDesigner.cs
- OleDbErrorCollection.cs
- ScrollData.cs
- ViewSimplifier.cs
- WebPartCatalogCloseVerb.cs
- AsymmetricSignatureFormatter.cs
- EditCommandColumn.cs
- SendContent.cs
- FormatterConverter.cs
- ProcessInfo.cs
- EntitySetBaseCollection.cs
- TypeElementCollection.cs