Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TransformerInfo.cs
- GlobalEventManager.cs
- Environment.cs
- ComponentResourceKeyConverter.cs
- WebServiceReceive.cs
- SortDescription.cs
- InfoCardProofToken.cs
- iisPickupDirectory.cs
- ToolBar.cs
- UpdatableWrapper.cs
- SplitterDesigner.cs
- StyleHelper.cs
- HttpServerProtocol.cs
- ProcessHostConfigUtils.cs
- TypeResolvingOptionsAttribute.cs
- datacache.cs
- Selection.cs
- QilTypeChecker.cs
- BindingList.cs
- NumberFunctions.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ColumnReorderedEventArgs.cs
- EntityContainer.cs
- CharacterBuffer.cs
- EditorServiceContext.cs
- DataGridViewTopRowAccessibleObject.cs
- GeometryHitTestParameters.cs
- ConfigurationLockCollection.cs
- _Rfc2616CacheValidators.cs
- DataObject.cs
- AlignmentXValidation.cs
- XPathSelectionIterator.cs
- Int16KeyFrameCollection.cs
- ProtocolsConfigurationEntry.cs
- DoubleAnimationUsingKeyFrames.cs
- GenericWebPart.cs
- EncoderExceptionFallback.cs
- NodeLabelEditEvent.cs
- VariableExpressionConverter.cs
- ResourceWriter.cs
- DbConnectionInternal.cs
- SamlAuthenticationClaimResource.cs
- CompositeFontFamily.cs
- XmlEntity.cs
- CLRBindingWorker.cs
- MarkupExtensionParser.cs
- UserValidatedEventArgs.cs
- OdbcConnection.cs
- DataGridCellItemAutomationPeer.cs
- FormatConvertedBitmap.cs
- ConnectivityStatus.cs
- DrawingContextDrawingContextWalker.cs
- LayoutEditorPart.cs
- FileUtil.cs
- ReferencedCategoriesDocument.cs
- DeferredReference.cs
- ImmutableObjectAttribute.cs
- StorageTypeMapping.cs
- DefaultEventAttribute.cs
- DataGridParentRows.cs
- TemplateBindingExpressionConverter.cs
- WebServiceMethodData.cs
- ServiceDocumentFormatter.cs
- DictionarySectionHandler.cs
- ResolvedKeyFrameEntry.cs
- XmlSchemaSubstitutionGroup.cs
- ASCIIEncoding.cs
- FormCollection.cs
- ToolStripStatusLabel.cs
- SmiEventSink.cs
- OdbcConnection.cs
- MenuAutoFormat.cs
- Button.cs
- XmlValidatingReaderImpl.cs
- Util.cs
- HwndKeyboardInputProvider.cs
- ImageClickEventArgs.cs
- DesignerAdapterUtil.cs
- Win32Native.cs
- XamlPoint3DCollectionSerializer.cs
- RequestCacheValidator.cs
- ManifestResourceInfo.cs
- LeaseManager.cs
- AliasGenerator.cs
- KeyValuePairs.cs
- EndpointNotFoundException.cs
- ListBoxItemAutomationPeer.cs
- InternalMappingException.cs
- ConfigsHelper.cs
- DispatcherFrame.cs
- BasePattern.cs
- DataGridViewRowConverter.cs
- ListParaClient.cs
- DesignerActionUI.cs
- ExceptionValidationRule.cs
- WebPartCollection.cs
- TimeSpanOrInfiniteValidator.cs
- ScrollBar.cs
- DynamicRenderer.cs
- __ConsoleStream.cs