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
- ObjectStateEntryDbUpdatableDataRecord.cs
- EntityViewContainer.cs
- ComponentSerializationService.cs
- AssociationTypeEmitter.cs
- DocumentCollection.cs
- CompModHelpers.cs
- VisualTarget.cs
- RightsManagementSuppressedStream.cs
- nulltextnavigator.cs
- FormDocumentDesigner.cs
- Italic.cs
- CurrentChangingEventArgs.cs
- DataGridViewHeaderCell.cs
- ActivityXRefPropertyEditor.cs
- DataGridViewDataErrorEventArgs.cs
- ManagedFilter.cs
- SmtpAuthenticationManager.cs
- ProtocolInformationWriter.cs
- Pkcs7Signer.cs
- ZoneIdentityPermission.cs
- MatrixAnimationUsingPath.cs
- AnnotationMap.cs
- NavigationFailedEventArgs.cs
- RoleManagerModule.cs
- EntityParameterCollection.cs
- XsdBuilder.cs
- PeerContact.cs
- ColumnMapCopier.cs
- ValidationError.cs
- DataColumnMappingCollection.cs
- MultiSelector.cs
- ToolStripDropDownClosingEventArgs.cs
- InteropAutomationProvider.cs
- FormsAuthenticationTicket.cs
- XmlEncoding.cs
- DataGridViewHitTestInfo.cs
- FontStretches.cs
- MaskedTextBox.cs
- QuaternionAnimationUsingKeyFrames.cs
- WebPartTransformer.cs
- XmlSchemaImporter.cs
- NavigateEvent.cs
- PaperSource.cs
- JoinCqlBlock.cs
- FileController.cs
- ExceptionHandlerDesigner.cs
- OdbcErrorCollection.cs
- CustomTypeDescriptor.cs
- PropertyChangingEventArgs.cs
- DataMisalignedException.cs
- WindowsPen.cs
- OracleException.cs
- ConfigurationCollectionAttribute.cs
- TileBrush.cs
- DiscoveryClientElement.cs
- VirtualPath.cs
- TimeSpanSecondsConverter.cs
- FlowDecision.cs
- AsymmetricKeyExchangeFormatter.cs
- EmptyStringExpandableObjectConverter.cs
- Command.cs
- MemberProjectionIndex.cs
- DBCommand.cs
- COM2PropertyPageUITypeConverter.cs
- ListControl.cs
- FlagsAttribute.cs
- RoleManagerModule.cs
- followingsibling.cs
- UnsafeNativeMethods.cs
- Column.cs
- Parameter.cs
- AuthenticationConfig.cs
- ManagementObjectCollection.cs
- MenuItemCollectionEditor.cs
- SocketPermission.cs
- XmlSchemaSimpleContentExtension.cs
- GenerateScriptTypeAttribute.cs
- _NtlmClient.cs
- AnimatedTypeHelpers.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SymbolPair.cs
- ByteKeyFrameCollection.cs
- Registry.cs
- LOSFormatter.cs
- MarshalDirectiveException.cs
- Task.cs
- XmlSerializableReader.cs
- CheckBoxList.cs
- DesignTimeVisibleAttribute.cs
- TextRunCacheImp.cs
- StringReader.cs
- ApplyImportsAction.cs
- ValueChangedEventManager.cs
- AsymmetricKeyExchangeDeformatter.cs
- PerformanceCounterManager.cs
- SimpleHandlerBuildProvider.cs
- Rights.cs
- DataGridViewColumn.cs
- ReferenceCountedObject.cs
- HttpCacheParams.cs