Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmTypeAttribute.cs / 2 / EdmTypeAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Objects.DataClasses { using System; using System.Diagnostics.CodeAnalysis; #pragma warning disable 3015 // no accessible constructors which use only CLS-compliant types ////// Base attribute for schematized types /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] public abstract class EdmTypeAttribute: System.Attribute { private string _typeName; private string _namespaceName; ////// Only allow derived attributes from this assembly /// internal EdmTypeAttribute() { } ////// Returns the name of the type that this type maps to in the CSpace /// public string Name { get { return _typeName; } set { _typeName = value; } } ////// Returns the namespace of the type that this type maps to in the CSpace /// public string NamespaceName { get { return _namespaceName; } set { _namespaceName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Objects.DataClasses { using System; using System.Diagnostics.CodeAnalysis; #pragma warning disable 3015 // no accessible constructors which use only CLS-compliant types ////// Base attribute for schematized types /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] public abstract class EdmTypeAttribute: System.Attribute { private string _typeName; private string _namespaceName; ////// Only allow derived attributes from this assembly /// internal EdmTypeAttribute() { } ////// Returns the name of the type that this type maps to in the CSpace /// public string Name { get { return _typeName; } set { _typeName = value; } } ////// Returns the namespace of the type that this type maps to in the CSpace /// public string NamespaceName { get { return _namespaceName; } set { _namespaceName = value; } } } } // 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
- PrinterUnitConvert.cs
- RtfControlWordInfo.cs
- ExeContext.cs
- ExpressionBuilder.cs
- AnnouncementEndpointElement.cs
- PointKeyFrameCollection.cs
- MbpInfo.cs
- ScrollableControlDesigner.cs
- FileSystemInfo.cs
- DBSchemaTable.cs
- ScriptResourceInfo.cs
- TextTreeText.cs
- MultiAsyncResult.cs
- XmlByteStreamWriter.cs
- ListBoxChrome.cs
- ObjectDataSourceView.cs
- TrackingStringDictionary.cs
- ChameleonKey.cs
- DataGridLinkButton.cs
- SignerInfo.cs
- EmptyQuery.cs
- FtpRequestCacheValidator.cs
- OracleNumber.cs
- RectangleGeometry.cs
- HtmlProps.cs
- XamlSerializationHelper.cs
- ProviderCommandInfoUtils.cs
- ItemMap.cs
- IRCollection.cs
- ObfuscationAttribute.cs
- ControlCommandSet.cs
- CopyOnWriteList.cs
- CodePropertyReferenceExpression.cs
- ObjectSet.cs
- HexParser.cs
- Object.cs
- ProfileManager.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XmlWhitespace.cs
- NameScopePropertyAttribute.cs
- TextSimpleMarkerProperties.cs
- _LocalDataStore.cs
- MutexSecurity.cs
- Frame.cs
- UInt32Storage.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- NamedPipeConnectionPool.cs
- SaveFileDialog.cs
- ComponentRenameEvent.cs
- FileSystemEventArgs.cs
- SessionChannels.cs
- AutomationProperties.cs
- XmlSchemaSimpleTypeList.cs
- EntityDataSourceDataSelectionPanel.cs
- SamlAuthenticationClaimResource.cs
- DBSqlParserColumnCollection.cs
- BitmapFrameDecode.cs
- InfoCardKeyedHashAlgorithm.cs
- FileVersion.cs
- DataBoundControlHelper.cs
- StorageBasedPackageProperties.cs
- DownloadProgressEventArgs.cs
- RemotingAttributes.cs
- __FastResourceComparer.cs
- DrawingContextDrawingContextWalker.cs
- DropDownList.cs
- XmlDomTextWriter.cs
- ScriptingSectionGroup.cs
- AsymmetricKeyExchangeFormatter.cs
- RunClient.cs
- Enumerable.cs
- NullableDecimalAverageAggregationOperator.cs
- JsonFormatWriterGenerator.cs
- relpropertyhelper.cs
- LogEntry.cs
- DocumentViewerHelper.cs
- ExceptionHandler.cs
- _SpnDictionary.cs
- LinkedList.cs
- DataServiceHost.cs
- GridView.cs
- HtmlInputRadioButton.cs
- NumericUpDownAccelerationCollection.cs
- TextTreeUndo.cs
- ImageBrush.cs
- SourceElementsCollection.cs
- ReflectEventDescriptor.cs
- AnimationTimeline.cs
- SqlDataSourceSummaryPanel.cs
- activationcontext.cs
- StylusButtonEventArgs.cs
- ListViewPagedDataSource.cs
- Operators.cs
- DataPager.cs
- ConsoleKeyInfo.cs
- Span.cs
- MenuBase.cs
- SiteMembershipCondition.cs
- Missing.cs
- ContentPlaceHolder.cs