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
- CanExecuteRoutedEventArgs.cs
- XmlSortKey.cs
- NotSupportedException.cs
- ContentElementAutomationPeer.cs
- TreeViewEvent.cs
- HttpListener.cs
- PersonalizationDictionary.cs
- DecoderReplacementFallback.cs
- DynamicField.cs
- Version.cs
- FlowDocumentPageViewerAutomationPeer.cs
- XmlSchemaInferenceException.cs
- CreatingCookieEventArgs.cs
- TypeConvertions.cs
- SetterTriggerConditionValueConverter.cs
- XmlAttributeAttribute.cs
- CompositionAdorner.cs
- NamedObject.cs
- DataBindingExpressionBuilder.cs
- Config.cs
- TcpChannelFactory.cs
- DataGridTable.cs
- CodeTypeParameterCollection.cs
- PassportPrincipal.cs
- Policy.cs
- Compiler.cs
- DataService.cs
- ControlBuilderAttribute.cs
- UdpChannelListener.cs
- TextEffectCollection.cs
- DiffuseMaterial.cs
- ServiceDescription.cs
- SafeMILHandle.cs
- Merger.cs
- PreApplicationStartMethodAttribute.cs
- EntityCommandDefinition.cs
- ArithmeticException.cs
- DodSequenceMerge.cs
- TreeNode.cs
- DbProviderFactoriesConfigurationHandler.cs
- ActivityCollectionMarkupSerializer.cs
- ShapingWorkspace.cs
- EntityDataSourceContextDisposingEventArgs.cs
- PathGeometry.cs
- LinkLabel.cs
- GroupDescription.cs
- DataBinder.cs
- SoapBinding.cs
- Funcletizer.cs
- DBPropSet.cs
- BinaryExpression.cs
- Typography.cs
- DataListItemCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- CacheMode.cs
- SpeechUI.cs
- QuaternionRotation3D.cs
- UpdateProgress.cs
- Soap12ProtocolImporter.cs
- HttpHandlerAction.cs
- EventMappingSettings.cs
- WorkflowInstance.cs
- BamlLocalizabilityResolver.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- FormViewUpdateEventArgs.cs
- ImageAnimator.cs
- DataObject.cs
- RootBrowserWindow.cs
- SHA384Cng.cs
- FormViewInsertEventArgs.cs
- coordinatorfactory.cs
- HostProtectionException.cs
- _TransmitFileOverlappedAsyncResult.cs
- Underline.cs
- MenuItemStyle.cs
- WrapPanel.cs
- OdbcCommandBuilder.cs
- PriorityRange.cs
- CompositeScriptReference.cs
- RequestQueue.cs
- ListParaClient.cs
- DocComment.cs
- StreamWithDictionary.cs
- SignatureSummaryDialog.cs
- UpdateRecord.cs
- SocketException.cs
- TextParagraphCache.cs
- ArithmeticException.cs
- TypeExtensionSerializer.cs
- DisplayNameAttribute.cs
- EventLogPermissionAttribute.cs
- ListMarkerSourceInfo.cs
- ToolStrip.cs
- PageBreakRecord.cs
- RootBrowserWindowProxy.cs
- InstanceContextMode.cs
- SpecialFolderEnumConverter.cs
- ProfileModule.cs
- UnauthorizedAccessException.cs
- CharKeyFrameCollection.cs