Code:
/ 4.0 / 4.0 / 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. 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
- RTLAwareMessageBox.cs
- IUnknownConstantAttribute.cs
- ConnectionStringEditor.cs
- UIElement3DAutomationPeer.cs
- UnsafeNetInfoNativeMethods.cs
- Freezable.cs
- TextSpan.cs
- AnyAllSearchOperator.cs
- DeferredSelectedIndexReference.cs
- AsmxEndpointPickerExtension.cs
- WebPartActionVerb.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DetailsViewPageEventArgs.cs
- NestedContainer.cs
- Figure.cs
- OrderingQueryOperator.cs
- NamespaceTable.cs
- ExpressionBuilderContext.cs
- CodeDelegateInvokeExpression.cs
- ProviderCommandInfoUtils.cs
- ContainerSelectorGlyph.cs
- CodeMemberField.cs
- XPathPatternBuilder.cs
- ContentPlaceHolder.cs
- RangeValidator.cs
- DeobfuscatingStream.cs
- ResourceDescriptionAttribute.cs
- Label.cs
- Types.cs
- HttpContext.cs
- ServiceProviders.cs
- DecodeHelper.cs
- WebPartConnectVerb.cs
- NativeActivityFaultContext.cs
- TemplateControlBuildProvider.cs
- ZoneLinkButton.cs
- DesignerForm.cs
- ParseHttpDate.cs
- ProfileProvider.cs
- XmlNamespaceMapping.cs
- BlurEffect.cs
- RuleInfoComparer.cs
- WebPartTracker.cs
- GradientStopCollection.cs
- AuditLogLocation.cs
- shaperfactoryquerycachekey.cs
- PlanCompiler.cs
- CryptoApi.cs
- EncoderReplacementFallback.cs
- ConnectionManagementElement.cs
- RangeBaseAutomationPeer.cs
- TextRangeEditLists.cs
- PinnedBufferMemoryStream.cs
- FastEncoderStatics.cs
- RootBrowserWindowProxy.cs
- ContainsSearchOperator.cs
- ConfigurationValidatorBase.cs
- PromptBuilder.cs
- StringToken.cs
- DatagridviewDisplayedBandsData.cs
- WebPageTraceListener.cs
- TextPenaltyModule.cs
- XsdBuilder.cs
- WebPart.cs
- MenuItemStyleCollection.cs
- XmlComplianceUtil.cs
- ProjectionNode.cs
- BitmapImage.cs
- XmlReflectionImporter.cs
- PageContentAsyncResult.cs
- SerializationInfoEnumerator.cs
- SimpleType.cs
- TemplatedAdorner.cs
- NonDualMessageSecurityOverHttp.cs
- SchemaDeclBase.cs
- SafeBitVector32.cs
- EmulateRecognizeCompletedEventArgs.cs
- DesignTimeTemplateParser.cs
- LinqDataSource.cs
- XmlArrayItemAttributes.cs
- ApplicationInfo.cs
- _ConnectStream.cs
- BamlLocalizableResource.cs
- TreeChangeInfo.cs
- ThreadStaticAttribute.cs
- ImageList.cs
- RefreshEventArgs.cs
- Claim.cs
- EmptyEnumerable.cs
- RayMeshGeometry3DHitTestResult.cs
- AnonymousIdentificationModule.cs
- Resources.Designer.cs
- RIPEMD160Managed.cs
- CustomExpressionEventArgs.cs
- DateTimeConverter2.cs
- LineBreakRecord.cs
- GetRecipientRequest.cs
- MemberPathMap.cs
- StylusOverProperty.cs
- CreateUserWizard.cs