Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / Binding / DataServiceEntityAttribute.cs / 1305376 / DataServiceEntityAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// EntitySetAttribute class // // //--------------------------------------------------------------------- namespace System.Data.Services.Common { ////// This attribute allows users to specify an entity set name with a client type. /// ////// This attribute is generated only when there is one entity set associated with the type. /// When there are more than one entity set associated with the type, then the entity set /// name can be passed in through the EntitySetNameResolver event. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public sealed class EntitySetAttribute : System.Attribute { ////// The entity set name. /// private readonly string entitySet; ////// Construct a EntitySetAttribute /// /// The entity set name. public EntitySetAttribute(string entitySet) { this.entitySet = entitySet; } ////// The entity set name. /// public string EntitySet { get { return this.entitySet; } } } } // 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
- StringStorage.cs
- UserControlParser.cs
- unsafenativemethodsother.cs
- TextFindEngine.cs
- ErrorActivity.cs
- X509Utils.cs
- Style.cs
- MatrixTransform.cs
- CompressionTransform.cs
- PersonalizableTypeEntry.cs
- EditorZoneBase.cs
- SafeHandle.cs
- NetworkInterface.cs
- IisTraceWebEventProvider.cs
- LogAppendAsyncResult.cs
- ScriptReference.cs
- LocatorPartList.cs
- CreateUserWizard.cs
- ExpressionPrefixAttribute.cs
- RSAPKCS1KeyExchangeFormatter.cs
- AppSettings.cs
- RawTextInputReport.cs
- CalendarKeyboardHelper.cs
- MatrixUtil.cs
- PropertyAccessVisitor.cs
- TransformerInfo.cs
- SQlBooleanStorage.cs
- ConfigXmlCDataSection.cs
- XPathParser.cs
- WebPartActionVerb.cs
- TypeLoadException.cs
- ClassHandlersStore.cs
- GridPattern.cs
- NumericUpDownAcceleration.cs
- TextTreeText.cs
- XmlAttributeHolder.cs
- PeerCustomResolverSettings.cs
- DataControlPagerLinkButton.cs
- ImageList.cs
- NativeMethods.cs
- DataServices.cs
- TreeViewHitTestInfo.cs
- DataGridViewCellLinkedList.cs
- QueryReaderSettings.cs
- SecurityUniqueId.cs
- BindingWorker.cs
- PropertyBuilder.cs
- LostFocusEventManager.cs
- TemplatedMailWebEventProvider.cs
- _OverlappedAsyncResult.cs
- followingquery.cs
- path.cs
- PersonalizationProviderCollection.cs
- InternalDispatchObject.cs
- XmlReflectionImporter.cs
- HttpCachePolicy.cs
- ResumeStoryboard.cs
- ValidationEventArgs.cs
- ChangeDirector.cs
- _SecureChannel.cs
- WebPartTransformer.cs
- PrefixHandle.cs
- TableChangeProcessor.cs
- StreamProxy.cs
- UpdateCompiler.cs
- MessageFormatterConverter.cs
- CacheDependency.cs
- RepeatInfo.cs
- TextEncodedRawTextWriter.cs
- AsyncResult.cs
- EventLogTraceListener.cs
- GridViewSortEventArgs.cs
- PolicyImporterElementCollection.cs
- XmlDeclaration.cs
- BevelBitmapEffect.cs
- FileSecurity.cs
- ListItemCollection.cs
- LinkButton.cs
- XamlInt32CollectionSerializer.cs
- ListViewItem.cs
- TableLayoutStyleCollection.cs
- BindingObserver.cs
- AuthenticatedStream.cs
- TrustSection.cs
- PaintValueEventArgs.cs
- EventWaitHandleSecurity.cs
- CalendarModeChangedEventArgs.cs
- OuterProxyWrapper.cs
- FixedDocumentSequencePaginator.cs
- Missing.cs
- QueryableDataSourceEditData.cs
- _IPv4Address.cs
- SoapTypeAttribute.cs
- XmlIlGenerator.cs
- ColumnResizeUndoUnit.cs
- Message.cs
- Selection.cs
- InputQueue.cs
- PeerNearMe.cs
- SafeBitVector32.cs