Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / Epm / EpmAttributeNameBuilder.cs / 1305376 / EpmAttributeNameBuilder.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides names for attributes in csdl file // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Common { ////// Build attribute names corresponding to ones in csdl file /// internal sealed class EpmAttributeNameBuilder { ///Current index private int index; ///PostFix for current attribute names private String postFix; ///Constructor internal EpmAttributeNameBuilder() { this.postFix = String.Empty; } ///KeepInContent internal String EpmKeepInContent { get { return XmlConstants.MetadataAttributeEpmKeepInContent + this.postFix; } } ///SourcePath internal String EpmSourcePath { get { return XmlConstants.MetadataAttributeEpmSourcePath + this.postFix; } } ///Target Path internal String EpmTargetPath { get { return XmlConstants.MetadataAttributeEpmTargetPath + this.postFix; } } ///ContentKind internal String EpmContentKind { get { return XmlConstants.MetadataAttributeEpmContentKind + this.postFix; } } ///Namespace Prefix internal String EpmNsPrefix { get { return XmlConstants.MetadataAttributeEpmNsPrefix + this.postFix; } } ///Namespace Uri internal String EpmNsUri { get { return XmlConstants.MetadataAttributeEpmNsUri + this.postFix; } } ///Move to next attribute name generation internal void MoveNext() { this.index++; this.postFix = "_" + this.index.ToString(System.Globalization.CultureInfo.InvariantCulture); } } } // 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
- PointAnimationBase.cs
- ColumnPropertiesGroup.cs
- SqlBinder.cs
- SystemEvents.cs
- Convert.cs
- Transactions.cs
- ListBase.cs
- SQLInt16Storage.cs
- SyndicationDeserializer.cs
- SqlDataReader.cs
- NavigationWindowAutomationPeer.cs
- URLIdentityPermission.cs
- OleCmdHelper.cs
- ExtendedProperty.cs
- DbConnectionOptions.cs
- SqlNamer.cs
- OutputCacheEntry.cs
- ManifestSignatureInformation.cs
- AutomationEvent.cs
- Baml2006KnownTypes.cs
- MenuTracker.cs
- NetCodeGroup.cs
- OperatorExpressions.cs
- DataList.cs
- FillErrorEventArgs.cs
- TreeViewHitTestInfo.cs
- UIEndRequest.cs
- WebDisplayNameAttribute.cs
- IncrementalCompileAnalyzer.cs
- FederatedMessageSecurityOverHttpElement.cs
- UpdateTracker.cs
- TemplatingOptionsDialog.cs
- ClassHandlersStore.cs
- RegistrySecurity.cs
- StoreItemCollection.Loader.cs
- PeerCollaboration.cs
- Grant.cs
- InputLanguageEventArgs.cs
- SpecularMaterial.cs
- ApplicationActivator.cs
- LingerOption.cs
- NavigateEvent.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DataServiceQueryProvider.cs
- SecurityDocument.cs
- OutputCacheProfileCollection.cs
- Deflater.cs
- TemplateParser.cs
- Int16Animation.cs
- User.cs
- VirtualPathProvider.cs
- SqlUnionizer.cs
- ContextStaticAttribute.cs
- ColorMatrix.cs
- RuntimeIdentifierPropertyAttribute.cs
- oledbmetadatacolumnnames.cs
- BinaryKeyIdentifierClause.cs
- TraceLevelStore.cs
- CssTextWriter.cs
- BamlWriter.cs
- PageHandlerFactory.cs
- IChannel.cs
- Stylesheet.cs
- PasswordRecovery.cs
- CaseExpr.cs
- FontSource.cs
- DataBoundControlHelper.cs
- SelectedGridItemChangedEvent.cs
- PeerCollaborationPermission.cs
- RectangleHotSpot.cs
- DoubleAnimationUsingKeyFrames.cs
- PanelStyle.cs
- NativeWindow.cs
- ProxyWebPartManager.cs
- EditorZoneDesigner.cs
- LicFileLicenseProvider.cs
- LineSegment.cs
- DesignTimeTemplateParser.cs
- SearchExpression.cs
- DataGridViewCheckBoxCell.cs
- SqlBulkCopyColumnMapping.cs
- Timeline.cs
- CodeGeneratorOptions.cs
- AbstractExpressions.cs
- GridViewCommandEventArgs.cs
- WebPartChrome.cs
- StylusPointProperties.cs
- MessageSmuggler.cs
- InputReportEventArgs.cs
- EngineSiteSapi.cs
- BitmapPalette.cs
- SqlParameterizer.cs
- D3DImage.cs
- SystemWebSectionGroup.cs
- HostingEnvironmentWrapper.cs
- MessageBodyMemberAttribute.cs
- PeerNameRegistration.cs
- FileNotFoundException.cs
- StorageModelBuildProvider.cs
- DataColumnMapping.cs