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
- SchemaElementDecl.cs
- TagMapInfo.cs
- DelimitedListTraceListener.cs
- CapiHashAlgorithm.cs
- QuaternionValueSerializer.cs
- IsolatedStorageFile.cs
- ObjectDataSourceView.cs
- ErrorStyle.cs
- ProcessHostConfigUtils.cs
- XmlSerializerNamespaces.cs
- ToolStripMenuItemDesigner.cs
- HMACSHA1.cs
- NativeCompoundFileAPIs.cs
- HwndSubclass.cs
- ActivationServices.cs
- TypeBuilder.cs
- CodeConstructor.cs
- WSHttpBindingElement.cs
- ModelChangedEventArgsImpl.cs
- PrintEvent.cs
- _SSPISessionCache.cs
- TreeNodeConverter.cs
- NameValuePermission.cs
- SQLBytes.cs
- CodeCompileUnit.cs
- AsymmetricSignatureFormatter.cs
- AlphaSortedEnumConverter.cs
- NamespaceMapping.cs
- BinaryObjectReader.cs
- Pair.cs
- CodeAccessSecurityEngine.cs
- HandleRef.cs
- FileEnumerator.cs
- StatusBarItemAutomationPeer.cs
- MarshalDirectiveException.cs
- EnumValAlphaComparer.cs
- Set.cs
- BitmapFrameDecode.cs
- SoapFault.cs
- sitestring.cs
- UriWriter.cs
- PersistenceProviderFactory.cs
- XPathAxisIterator.cs
- FillBehavior.cs
- CursorConverter.cs
- LogReservationCollection.cs
- EntityRecordInfo.cs
- PlaceHolder.cs
- OleDbConnectionFactory.cs
- EntityDataSourceDataSelection.cs
- DebugHandleTracker.cs
- Gdiplus.cs
- TimeoutValidationAttribute.cs
- BindingUtils.cs
- XmlQueryStaticData.cs
- DoubleCollection.cs
- GridViewSortEventArgs.cs
- X509Certificate2.cs
- PropertyPathConverter.cs
- SQLSingle.cs
- ButtonStandardAdapter.cs
- FrameworkElement.cs
- StorageScalarPropertyMapping.cs
- ContentFilePart.cs
- UserControlAutomationPeer.cs
- XmlSchemaAnnotation.cs
- MethodBody.cs
- TabRenderer.cs
- EmbossBitmapEffect.cs
- CompatibleIComparer.cs
- WhitespaceRuleLookup.cs
- Attachment.cs
- NullableIntSumAggregationOperator.cs
- KeyPressEvent.cs
- Brush.cs
- BooleanFacetDescriptionElement.cs
- ApplicationInfo.cs
- PointHitTestResult.cs
- ClassHandlersStore.cs
- ExtensibleClassFactory.cs
- DataPagerFieldCollection.cs
- ImageList.cs
- ProxyManager.cs
- CultureSpecificStringDictionary.cs
- SecurityContextSecurityTokenParameters.cs
- AccessorTable.cs
- FontWeight.cs
- TransformConverter.cs
- SplitterPanel.cs
- AdornerLayer.cs
- SecureUICommand.cs
- CompensationExtension.cs
- XPathSingletonIterator.cs
- PtsPage.cs
- ComplexObject.cs
- PathFigureCollectionValueSerializer.cs
- securitycriticaldataformultiplegetandset.cs
- Page.cs
- CodeVariableReferenceExpression.cs
- SafeLibraryHandle.cs