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
- NamespaceCollection.cs
- OdbcParameter.cs
- TypeInfo.cs
- OnOperation.cs
- RoleManagerModule.cs
- PageAdapter.cs
- WeakRefEnumerator.cs
- BindingMAnagerBase.cs
- TablePattern.cs
- SchemaType.cs
- WindowsListViewItemStartMenu.cs
- EntityConnectionStringBuilderItem.cs
- IApplicationTrustManager.cs
- WaitHandleCannotBeOpenedException.cs
- ReliableDuplexSessionChannel.cs
- WebBrowserHelper.cs
- MarkupExtensionParser.cs
- embossbitmapeffect.cs
- Span.cs
- TdsEnums.cs
- SecurityAlgorithmSuiteConverter.cs
- Vector3DConverter.cs
- XmlSchemaNotation.cs
- FullTextState.cs
- ContextMarshalException.cs
- WmlPanelAdapter.cs
- smtppermission.cs
- TableLayoutSettings.cs
- SudsWriter.cs
- QueryTaskGroupState.cs
- EastAsianLunisolarCalendar.cs
- FileSystemInfo.cs
- CollectionChangeEventArgs.cs
- ColorConverter.cs
- TypeValidationEventArgs.cs
- FocusChangedEventArgs.cs
- ScriptReferenceBase.cs
- XmlWrappingReader.cs
- ProvideValueServiceProvider.cs
- ZipPackage.cs
- ConnectionProviderAttribute.cs
- X509Chain.cs
- ExtendedPropertyDescriptor.cs
- TracedNativeMethods.cs
- OleDbSchemaGuid.cs
- Int32Animation.cs
- ReadOnlyMetadataCollection.cs
- DataListCommandEventArgs.cs
- StyleHelper.cs
- DbParameterCollection.cs
- RemoveFromCollection.cs
- DriveNotFoundException.cs
- FormViewDeleteEventArgs.cs
- WebPartUtil.cs
- SHA512CryptoServiceProvider.cs
- HeaderPanel.cs
- SchemaImporterExtension.cs
- Package.cs
- TdsParser.cs
- ProfilePropertyNameValidator.cs
- ClientScriptManager.cs
- XmlTextReader.cs
- IndependentAnimationStorage.cs
- SoapMessage.cs
- EntityDataSourceState.cs
- WebHeaderCollection.cs
- PerformanceCounterPermission.cs
- UnsafeNativeMethods.cs
- XmlReflectionImporter.cs
- _ListenerAsyncResult.cs
- TraceHwndHost.cs
- XmlKeywords.cs
- Int16AnimationBase.cs
- WindowsSecurityTokenAuthenticator.cs
- VirtualDirectoryMapping.cs
- EventLog.cs
- XPathException.cs
- ChannelEndpointElement.cs
- Constraint.cs
- DataSourceCache.cs
- OdbcConnectionHandle.cs
- SuppressMergeCheckAttribute.cs
- ContravarianceAdapter.cs
- BitmapEffectDrawingContent.cs
- WebPartConnectionsConnectVerb.cs
- PeerEndPoint.cs
- CodeVariableDeclarationStatement.cs
- PeerTransportElement.cs
- StringUtil.cs
- ImpersonateTokenRef.cs
- FixedHighlight.cs
- ConfigXmlElement.cs
- GridLengthConverter.cs
- XmlObjectSerializerReadContextComplexJson.cs
- PageMediaType.cs
- StatusBarPanelClickEvent.cs
- ExcludeFromCodeCoverageAttribute.cs
- StyleTypedPropertyAttribute.cs
- MenuCommand.cs
- ButtonColumn.cs