Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmTypeAttribute.cs / 1 / 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
- RadioButtonBaseAdapter.cs
- NetworkInformationException.cs
- TabletDevice.cs
- DummyDataSource.cs
- PersistenceTypeAttribute.cs
- FixedSchema.cs
- InvokeHandlers.cs
- ByteViewer.cs
- GenerateScriptTypeAttribute.cs
- IndependentlyAnimatedPropertyMetadata.cs
- LockCookie.cs
- ThreadAbortException.cs
- ThousandthOfEmRealDoubles.cs
- DynamicScriptObject.cs
- SchemaExporter.cs
- ForceCopyBuildProvider.cs
- ExpressionsCollectionEditor.cs
- CreateUserWizardStep.cs
- TypedTableBase.cs
- SelectedGridItemChangedEvent.cs
- Crc32.cs
- DataServiceExpressionVisitor.cs
- Deserializer.cs
- WeakRefEnumerator.cs
- COM2PropertyPageUITypeConverter.cs
- QilXmlWriter.cs
- SignalGate.cs
- DataMemberAttribute.cs
- LinqDataView.cs
- Query.cs
- WSFederationHttpBindingElement.cs
- GuidelineSet.cs
- HuffModule.cs
- AppDomain.cs
- HashMembershipCondition.cs
- IriParsingElement.cs
- XmlAttributes.cs
- LineServicesRun.cs
- FunctionCommandText.cs
- ChtmlFormAdapter.cs
- MethodAccessException.cs
- MediaScriptCommandRoutedEventArgs.cs
- PointAnimationUsingPath.cs
- XmlCharCheckingReader.cs
- ConfigurationCollectionAttribute.cs
- DiagnosticStrings.cs
- DesignerToolStripControlHost.cs
- PageThemeCodeDomTreeGenerator.cs
- TraversalRequest.cs
- RegexWorker.cs
- TextContainer.cs
- UseManagedPresentationBindingElementImporter.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- InvalidPrinterException.cs
- AttachedAnnotation.cs
- IsolatedStorageSecurityState.cs
- FontEmbeddingManager.cs
- GeometryGroup.cs
- PeerResolver.cs
- SchemaNames.cs
- VarRefManager.cs
- XmlHierarchicalDataSourceView.cs
- ManagementPath.cs
- SqlDataSourceSummaryPanel.cs
- PostBackOptions.cs
- PersonalizableAttribute.cs
- ListViewItem.cs
- ResXResourceWriter.cs
- EmptyEnumerator.cs
- ToolStripDesignerUtils.cs
- MessagingDescriptionAttribute.cs
- Funcletizer.cs
- Bezier.cs
- CreateUserErrorEventArgs.cs
- BindingEditor.xaml.cs
- Debug.cs
- ServiceHttpModule.cs
- ResourceAssociationSetEnd.cs
- TableParaClient.cs
- ExternalException.cs
- _ConnectionGroup.cs
- FileFormatException.cs
- ConfigXmlReader.cs
- PhysicalAddress.cs
- ISFClipboardData.cs
- CardSpaceException.cs
- RangeValidator.cs
- HttpRequestBase.cs
- DataControlLinkButton.cs
- QueryParameter.cs
- hwndwrapper.cs
- DbProviderSpecificTypePropertyAttribute.cs
- GrammarBuilder.cs
- HighContrastHelper.cs
- FontDifferentiator.cs
- ToolBarButton.cs
- AliasedSlot.cs
- ProxyWebPartConnectionCollection.cs
- sqlser.cs
- MetadataItemSerializer.cs