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
- FolderLevelBuildProvider.cs
- RoutedEvent.cs
- RedirectionProxy.cs
- FileChangeNotifier.cs
- Throw.cs
- ADMembershipUser.cs
- ConstantExpression.cs
- ItemsChangedEventArgs.cs
- MailWriter.cs
- dsa.cs
- ControlPaint.cs
- UnknownBitmapEncoder.cs
- AbstractDataSvcMapFileLoader.cs
- TableLayoutColumnStyleCollection.cs
- ContextMenu.cs
- ManagedIStream.cs
- SqlProfileProvider.cs
- ResourceReferenceExpression.cs
- ToolZone.cs
- DrawingAttributes.cs
- StringValueSerializer.cs
- ControlParameter.cs
- FixedDocumentSequencePaginator.cs
- StringFunctions.cs
- HttpResponse.cs
- Ops.cs
- InvalidOleVariantTypeException.cs
- Dump.cs
- XPathNavigator.cs
- DiffuseMaterial.cs
- UriParserTemplates.cs
- DataGridBoolColumn.cs
- VersionedStream.cs
- CategoryAttribute.cs
- selecteditemcollection.cs
- ScriptingWebServicesSectionGroup.cs
- PrimitiveXmlSerializers.cs
- WebPermission.cs
- RemoveStoryboard.cs
- FormattedTextSymbols.cs
- BitmapImage.cs
- XmlReturnReader.cs
- WsatServiceAddress.cs
- TraceProvider.cs
- ValidationHelper.cs
- WebPartManager.cs
- XmlLinkedNode.cs
- ComboBoxRenderer.cs
- RtType.cs
- MultiViewDesigner.cs
- Line.cs
- Vector3DAnimationBase.cs
- PackagingUtilities.cs
- GridViewSelectEventArgs.cs
- HiddenFieldPageStatePersister.cs
- ResourcesBuildProvider.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- SortedList.cs
- KeyValueInternalCollection.cs
- CheckPair.cs
- CallbackHandler.cs
- DocumentOrderQuery.cs
- WebPartAddingEventArgs.cs
- CommandExpr.cs
- GridViewRowEventArgs.cs
- ValueType.cs
- SoapMessage.cs
- IntPtr.cs
- ProfileGroupSettingsCollection.cs
- DataSourceBooleanViewSchemaConverter.cs
- MethodBuilder.cs
- StreamGeometry.cs
- HttpStreamXmlDictionaryReader.cs
- PopupRoot.cs
- HtmlButton.cs
- ApplicationGesture.cs
- DbProviderFactories.cs
- ProfileGroupSettings.cs
- ImportContext.cs
- SQLMoneyStorage.cs
- SecurityUtils.cs
- DataGridViewColumnConverter.cs
- CacheOutputQuery.cs
- Container.cs
- Event.cs
- GACMembershipCondition.cs
- FileRecordSequence.cs
- ReferencedType.cs
- TreeViewImageIndexConverter.cs
- CookieProtection.cs
- Encoder.cs
- LogLogRecordEnumerator.cs
- FtpWebRequest.cs
- WorkflowMarkupSerializationManager.cs
- XmlSchemaResource.cs
- XamlStyleSerializer.cs
- StreamGeometry.cs
- SqlDataSourceAdvancedOptionsForm.cs
- BitmapEncoder.cs
- invalidudtexception.cs