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
- RsaElement.cs
- SiteMapNode.cs
- Typography.cs
- Pool.cs
- HttpContextServiceHost.cs
- AttributeCollection.cs
- AesCryptoServiceProvider.cs
- GPPOINT.cs
- ConfigurationLocationCollection.cs
- QueuePathDialog.cs
- AssemblyHelper.cs
- PersonalizationProviderHelper.cs
- QilName.cs
- TreeNodeBindingCollection.cs
- MulticastIPAddressInformationCollection.cs
- EntityDataSourceSelectedEventArgs.cs
- UnionCqlBlock.cs
- NativeObjectSecurity.cs
- CompiledRegexRunner.cs
- CapabilitiesUse.cs
- MenuAutomationPeer.cs
- CustomError.cs
- Merger.cs
- SafeTokenHandle.cs
- CachedBitmap.cs
- DataGridPageChangedEventArgs.cs
- EnumMember.cs
- BinaryObjectWriter.cs
- PersonalizationStateInfoCollection.cs
- ExceptionHandlersDesigner.cs
- CodeLinePragma.cs
- ToolStripSplitStackLayout.cs
- XamlPointCollectionSerializer.cs
- XPathMultyIterator.cs
- EntitySqlQueryCacheKey.cs
- dataprotectionpermission.cs
- TypeLoadException.cs
- RemoteCryptoTokenProvider.cs
- XmlSerializer.cs
- TypeFieldSchema.cs
- ExpressionEditorAttribute.cs
- ToolBar.cs
- ColumnMapTranslator.cs
- CodeAttributeDeclarationCollection.cs
- BaseTreeIterator.cs
- AdornerHitTestResult.cs
- TreeNode.cs
- AssociationTypeEmitter.cs
- TextTreeText.cs
- StylusEventArgs.cs
- MissingSatelliteAssemblyException.cs
- BinaryWriter.cs
- MimeTypeAttribute.cs
- SingleTagSectionHandler.cs
- HostedNamedPipeTransportManager.cs
- WebPartConnectionsConfigureVerb.cs
- RepeaterItemEventArgs.cs
- TemplateInstanceAttribute.cs
- FixedSOMTableCell.cs
- UserControl.cs
- Color.cs
- InteropTrackingRecord.cs
- Debug.cs
- DataGridView.cs
- HostedHttpRequestAsyncResult.cs
- Transform.cs
- NativeRightsManagementAPIsStructures.cs
- DbMetaDataFactory.cs
- TableRowGroupCollection.cs
- Size3DConverter.cs
- Rules.cs
- TargetConverter.cs
- NCryptNative.cs
- TextElementEnumerator.cs
- pingexception.cs
- InvokeHandlers.cs
- RijndaelManaged.cs
- DocumentGridContextMenu.cs
- ExtendedPropertyDescriptor.cs
- IISMapPath.cs
- CellCreator.cs
- SqlDataSourceFilteringEventArgs.cs
- ReceiveCompletedEventArgs.cs
- webproxy.cs
- MailMessage.cs
- safelinkcollection.cs
- ObjectListFieldCollection.cs
- XmlKeywords.cs
- ButtonChrome.cs
- Imaging.cs
- BamlLocalizer.cs
- Site.cs
- DateTimeUtil.cs
- InstanceHandle.cs
- DataKey.cs
- ProvideValueServiceProvider.cs
- SafeProcessHandle.cs
- EventSetter.cs
- BitmapEffectCollection.cs
- XmlConvert.cs