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
- WindowsFormsSynchronizationContext.cs
- CalendarButton.cs
- ConstraintConverter.cs
- C14NUtil.cs
- MethodAccessException.cs
- LinkButton.cs
- AudioStateChangedEventArgs.cs
- ConfigurationUtility.cs
- UIAgentInitializationException.cs
- FormatException.cs
- _NTAuthentication.cs
- storepermissionattribute.cs
- MemoryMappedView.cs
- WebPartExportVerb.cs
- ThemeableAttribute.cs
- safesecurityhelperavalon.cs
- SystemIPInterfaceProperties.cs
- BindingContext.cs
- ParameterRefs.cs
- DataMemberAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- Color.cs
- EncodingFallbackAwareXmlTextWriter.cs
- CompilerWrapper.cs
- SpeechUI.cs
- PreProcessInputEventArgs.cs
- ItemCheckEvent.cs
- columnmapkeybuilder.cs
- CorrelationInitializer.cs
- TraceListener.cs
- CodePageUtils.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- HtmlControl.cs
- FilterEventArgs.cs
- ProfilePropertyNameValidator.cs
- MessageUtil.cs
- URLString.cs
- CapabilitiesRule.cs
- x509store.cs
- FixedDocumentPaginator.cs
- TargetConverter.cs
- OutputCacheSettings.cs
- ProcessHostFactoryHelper.cs
- CodePrimitiveExpression.cs
- CookielessHelper.cs
- DurableInstanceManager.cs
- HotCommands.cs
- ReadOnlyDictionary.cs
- ColumnBinding.cs
- SecurityIdentifierConverter.cs
- ByeMessage11.cs
- TypeUtil.cs
- ComponentCommands.cs
- AttributeData.cs
- ScopelessEnumAttribute.cs
- DoubleAnimationBase.cs
- NetworkStream.cs
- ToolStripRenderer.cs
- Type.cs
- DynamicQueryableWrapper.cs
- LineServices.cs
- PropertyPathWorker.cs
- WebChannelFactory.cs
- COM2ExtendedTypeConverter.cs
- DrawListViewItemEventArgs.cs
- PageThemeParser.cs
- EntityClassGenerator.cs
- SessionEndedEventArgs.cs
- FixedFindEngine.cs
- ByteStack.cs
- TransformPattern.cs
- Metadata.cs
- RowParagraph.cs
- XmlSchemaAttributeGroupRef.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Int32Storage.cs
- typedescriptorpermissionattribute.cs
- ObjectMaterializedEventArgs.cs
- Int32Collection.cs
- MenuItemCollectionEditorDialog.cs
- XamlSerializerUtil.cs
- SmiGettersStream.cs
- SetterBase.cs
- AutomationElementCollection.cs
- IFlowDocumentViewer.cs
- SoapIgnoreAttribute.cs
- CollectionsUtil.cs
- OverrideMode.cs
- WarningException.cs
- SizeAnimation.cs
- WorkflowTraceTransfer.cs
- IntPtr.cs
- WindowsStartMenu.cs
- HttpCacheVaryByContentEncodings.cs
- DoubleAnimationUsingKeyFrames.cs
- XmlSchemaSubstitutionGroup.cs
- SessionStateContainer.cs
- CodeSnippetCompileUnit.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- EditorZone.cs