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
- HttpTransportBindingElement.cs
- ISAPIRuntime.cs
- EnumValAlphaComparer.cs
- DataGridCommandEventArgs.cs
- LookupBindingPropertiesAttribute.cs
- ManifestSignatureInformation.cs
- ControlUtil.cs
- HostedImpersonationContext.cs
- StylusPointDescription.cs
- MonikerSyntaxException.cs
- ShellProvider.cs
- SQLInt64Storage.cs
- HttpCacheParams.cs
- PackagingUtilities.cs
- CopyOnWriteList.cs
- WpfKnownMember.cs
- SamlAttributeStatement.cs
- TdsParserStaticMethods.cs
- LinkedResource.cs
- GridViewSortEventArgs.cs
- PixelFormatConverter.cs
- DataTableNewRowEvent.cs
- TokenBasedSetEnumerator.cs
- DataGridViewRowPrePaintEventArgs.cs
- RenderData.cs
- SqlDeflator.cs
- PermissionListSet.cs
- DataSpaceManager.cs
- DataGridViewLayoutData.cs
- ProviderBase.cs
- NavigateUrlConverter.cs
- PropertyMetadata.cs
- IIS7ConfigurationLoader.cs
- ResourceManager.cs
- ScaleTransform.cs
- RoleManagerEventArgs.cs
- InternalCache.cs
- AutoResizedEvent.cs
- SecurityRuntime.cs
- ModulesEntry.cs
- TextCompositionEventArgs.cs
- precedingsibling.cs
- XmlName.cs
- QueryResponse.cs
- BitmapEncoder.cs
- mediaeventargs.cs
- ClickablePoint.cs
- ControlAdapter.cs
- FormsAuthenticationTicket.cs
- ClockController.cs
- WindowsGraphics.cs
- CardSpaceSelector.cs
- PersonalizationState.cs
- MatrixAnimationBase.cs
- RelatedPropertyManager.cs
- DetailsView.cs
- XpsS0ValidatingLoader.cs
- BooleanConverter.cs
- RolePrincipal.cs
- SessionStateContainer.cs
- TypedTableGenerator.cs
- VisualStyleElement.cs
- StaticFileHandler.cs
- RotateTransform3D.cs
- Triangle.cs
- ProxyWebPartConnectionCollection.cs
- Paragraph.cs
- CommandManager.cs
- MetadataExchangeBindings.cs
- EdmSchemaAttribute.cs
- FragmentQueryKB.cs
- ScriptResourceHandler.cs
- ServiceInfo.cs
- RelatedImageListAttribute.cs
- SchemaType.cs
- HttpModuleAction.cs
- XmlSecureResolver.cs
- _NetRes.cs
- AccessText.cs
- HttpStreamXmlDictionaryReader.cs
- Color.cs
- Random.cs
- HttpListenerResponse.cs
- CoreChannel.cs
- HScrollProperties.cs
- BigInt.cs
- ScrollItemPatternIdentifiers.cs
- ToolStripPanelRow.cs
- TranslateTransform3D.cs
- PropertyDescriptorComparer.cs
- Transform.cs
- ChtmlPageAdapter.cs
- safex509handles.cs
- HeaderCollection.cs
- ProfilePropertySettingsCollection.cs
- SystemThemeKey.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- InstanceKey.cs
- Vector3DCollectionValueSerializer.cs
- DecoderExceptionFallback.cs