Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / DynamicData / DynamicData / TableNameAttribute.cs / 1305376 / TableNameAttribute.cs
using System.Security.Permissions; namespace System.Web.DynamicData { ////// Allows for overriding the name of a table. (What previously TableOptions was used for). /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public sealed class TableNameAttribute : Attribute { ////// The new name of the table /// public string Name { get; private set; } ////// Creates a new instance /// /// the new name override public TableNameAttribute(string name) { if (String.IsNullOrEmpty(name)) { throw new ArgumentNullException("name"); } Name = name; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SerializationSectionGroup.cs
- EntityContainerEmitter.cs
- BackStopAuthenticationModule.cs
- AsyncCodeActivityContext.cs
- ActivityValidator.cs
- Expressions.cs
- ipaddressinformationcollection.cs
- FastEncoder.cs
- CheckBoxField.cs
- ChannelServices.cs
- OleDbConnectionInternal.cs
- BindingGroup.cs
- Cloud.cs
- BufferBuilder.cs
- UnSafeCharBuffer.cs
- SmiContext.cs
- PropertyValueChangedEvent.cs
- OdbcConnection.cs
- DataServiceProviderWrapper.cs
- SecurityRuntime.cs
- GeometryHitTestParameters.cs
- UserControlBuildProvider.cs
- SqlPersonalizationProvider.cs
- _SafeNetHandles.cs
- DnsEndPoint.cs
- TryExpression.cs
- SocketInformation.cs
- FormViewInsertEventArgs.cs
- XamlBrushSerializer.cs
- SecureEnvironment.cs
- GlyphingCache.cs
- Pen.cs
- EncryptedData.cs
- LocatorPartList.cs
- DragAssistanceManager.cs
- ProviderUtil.cs
- UIElementParaClient.cs
- Imaging.cs
- mediaeventshelper.cs
- SectionVisual.cs
- WebControlAdapter.cs
- ping.cs
- DataObjectEventArgs.cs
- ResourcesGenerator.cs
- MailAddressCollection.cs
- DataGridLinkButton.cs
- SortQuery.cs
- MemoryFailPoint.cs
- DataGridTextBox.cs
- EmptyEnumerator.cs
- ParenthesizePropertyNameAttribute.cs
- altserialization.cs
- ErasingStroke.cs
- CompiledIdentityConstraint.cs
- DocumentPropertiesDialog.cs
- Header.cs
- PropertyPathWorker.cs
- EndpointPerformanceCounters.cs
- ClrProviderManifest.cs
- ToolStripDesigner.cs
- MetadataFile.cs
- RangeContentEnumerator.cs
- SchemaNamespaceManager.cs
- ContextQuery.cs
- VirtualDirectoryMapping.cs
- WeakEventTable.cs
- BaseParagraph.cs
- AppDomainGrammarProxy.cs
- MexNamedPipeBindingCollectionElement.cs
- SafeNativeMethodsCLR.cs
- HostingPreferredMapPath.cs
- SQLByte.cs
- HtmlPageAdapter.cs
- DataGridViewCellValidatingEventArgs.cs
- CodeMemberField.cs
- SessionIDManager.cs
- SortKey.cs
- XmlText.cs
- XmlSchemaObject.cs
- BlurBitmapEffect.cs
- NodeInfo.cs
- EventLogEntry.cs
- XmlSchemaElement.cs
- AssemblyCollection.cs
- SystemPens.cs
- PackageStore.cs
- MatrixTransform3D.cs
- AsymmetricSignatureFormatter.cs
- ControlPropertyNameConverter.cs
- RangeBaseAutomationPeer.cs
- BitmapEffectDrawingContextState.cs
- RightsManagementInformation.cs
- Decimal.cs
- RegionInfo.cs
- User.cs
- DrawingAttributes.cs
- WebReferencesBuildProvider.cs
- ScaleTransform3D.cs
- DataGridTableStyleMappingNameEditor.cs
- HttpAsyncResult.cs