Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SelectiveScrollingGrid.cs
- HtmlInputReset.cs
- OrthographicCamera.cs
- PointUtil.cs
- FragmentNavigationEventArgs.cs
- WebPart.cs
- TemplateLookupAction.cs
- PreProcessor.cs
- XsdCachingReader.cs
- XhtmlBasicPanelAdapter.cs
- StringArrayConverter.cs
- DateTimeOffset.cs
- XmlSerializerImportOptions.cs
- UnknownWrapper.cs
- Symbol.cs
- RadioButtonAutomationPeer.cs
- dataobject.cs
- ExpressionVisitor.cs
- SplitterDesigner.cs
- _LocalDataStoreMgr.cs
- Msec.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- HybridCollection.cs
- MethodExpr.cs
- QuadraticBezierSegment.cs
- ScriptServiceAttribute.cs
- EntityDataSourceSelectingEventArgs.cs
- ExternalException.cs
- TouchEventArgs.cs
- ConfigXmlComment.cs
- Int32Animation.cs
- InstanceDataCollection.cs
- ColumnCollectionEditor.cs
- SystemIcmpV4Statistics.cs
- Helpers.cs
- Trace.cs
- RuleSettingsCollection.cs
- SQLStringStorage.cs
- DataTableReader.cs
- MetafileHeader.cs
- QueryStoreStatusRequest.cs
- _HTTPDateParse.cs
- HebrewCalendar.cs
- AttributeUsageAttribute.cs
- ConfigsHelper.cs
- ListViewCommandEventArgs.cs
- Geometry3D.cs
- RangeExpression.cs
- PackageStore.cs
- SafeProcessHandle.cs
- RadioButtonList.cs
- Tag.cs
- SchemaTableOptionalColumn.cs
- VirtualDirectoryMapping.cs
- CngKeyBlobFormat.cs
- TraceData.cs
- BitmapEffectDrawingContextWalker.cs
- CssTextWriter.cs
- PrivacyNoticeElement.cs
- CheckPair.cs
- AppSettingsExpressionBuilder.cs
- ReadContentAsBinaryHelper.cs
- DataControlButton.cs
- Point4DValueSerializer.cs
- WorkflowRuntimeServicesBehavior.cs
- SecurityTokenException.cs
- BufferModesCollection.cs
- ContractCodeDomInfo.cs
- HttpRuntime.cs
- AsyncOperationManager.cs
- ImageSourceConverter.cs
- SqlRecordBuffer.cs
- LiteralControl.cs
- HwndSourceKeyboardInputSite.cs
- TargetInvocationException.cs
- ImageDrawing.cs
- VirtualPathUtility.cs
- EraserBehavior.cs
- RuleValidation.cs
- NextPreviousPagerField.cs
- Base64Encoder.cs
- ConfigPathUtility.cs
- HttpCapabilitiesEvaluator.cs
- DocumentApplication.cs
- HttpCacheVaryByContentEncodings.cs
- ReferentialConstraint.cs
- AvTraceDetails.cs
- XamlInt32CollectionSerializer.cs
- InputLanguageProfileNotifySink.cs
- EntityObject.cs
- ListBoxItem.cs
- SecurityHelper.cs
- TaskResultSetter.cs
- Int64Storage.cs
- ComplexTypeEmitter.cs
- WSFederationHttpSecurityMode.cs
- VBIdentifierDesigner.xaml.cs
- Quaternion.cs
- PropertyEmitter.cs
- ContentPlaceHolder.cs