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
- SqlUserDefinedTypeAttribute.cs
- UriWriter.cs
- GatewayDefinition.cs
- XmlStreamStore.cs
- TextTreeTextElementNode.cs
- SimpleBitVector32.cs
- SHA256Managed.cs
- ProcessModelSection.cs
- ValueUnavailableException.cs
- UmAlQuraCalendar.cs
- PageSetupDialog.cs
- CommonProperties.cs
- GenericWebPart.cs
- OutputCacheSettingsSection.cs
- FixedElement.cs
- CrossAppDomainChannel.cs
- CloseCryptoHandleRequest.cs
- Maps.cs
- PrintDialogException.cs
- XmlProcessingInstruction.cs
- AddingNewEventArgs.cs
- DtdParser.cs
- ExponentialEase.cs
- ListItemCollection.cs
- RoutedEventConverter.cs
- Journaling.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ClientTarget.cs
- SplineKeyFrames.cs
- RectKeyFrameCollection.cs
- BrushMappingModeValidation.cs
- ProgressPage.cs
- XsdCachingReader.cs
- ByteStreamGeometryContext.cs
- PermissionToken.cs
- TreePrinter.cs
- ContentPathSegment.cs
- DocumentApplicationJournalEntry.cs
- MatrixTransform.cs
- MobileListItemCollection.cs
- XmlWellformedWriter.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- WmlLiteralTextAdapter.cs
- WhiteSpaceTrimStringConverter.cs
- InstanceBehavior.cs
- BindingList.cs
- MouseEventArgs.cs
- FacetChecker.cs
- TreeChangeInfo.cs
- IncrementalReadDecoders.cs
- RolePrincipal.cs
- WindowsTab.cs
- LinkLabelLinkClickedEvent.cs
- UpdateTranslator.cs
- Metafile.cs
- FlowDocument.cs
- CompositeTypefaceMetrics.cs
- ToolTipAutomationPeer.cs
- XmlIncludeAttribute.cs
- DataGridTemplateColumn.cs
- ThreadStaticAttribute.cs
- ConnectionManagementElement.cs
- BitArray.cs
- TableSectionStyle.cs
- WinFormsSecurity.cs
- DetailsViewInsertEventArgs.cs
- HotSpotCollection.cs
- ImageAnimator.cs
- CqlLexer.cs
- SortKey.cs
- AmbientLight.cs
- EffectiveValueEntry.cs
- CellQuery.cs
- Vertex.cs
- TemplateXamlTreeBuilder.cs
- UdpContractFilterBehavior.cs
- HMACMD5.cs
- ObjectComplexPropertyMapping.cs
- RawMouseInputReport.cs
- TreeNodeClickEventArgs.cs
- SqlFileStream.cs
- ReferenceSchema.cs
- _OverlappedAsyncResult.cs
- Icon.cs
- HttpListenerRequestTraceRecord.cs
- x509store.cs
- WorkflowApplicationAbortedException.cs
- TextUtf8RawTextWriter.cs
- DataRow.cs
- NetMsmqBindingElement.cs
- Expression.cs
- TaiwanLunisolarCalendar.cs
- NumberFunctions.cs
- XmlValidatingReaderImpl.cs
- ExtendedPropertyCollection.cs
- ProxyGenerator.cs
- UpDownBase.cs
- Rect3DConverter.cs
- EntitySetDataBindingList.cs
- StandardCommands.cs