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
- ImageFormat.cs
- SqlNodeTypeOperators.cs
- SettingsProperty.cs
- IndexingContentUnit.cs
- UserValidatedEventArgs.cs
- WindowsRegion.cs
- PixelFormat.cs
- DefaultValidator.cs
- ExpressionPrefixAttribute.cs
- IPipelineRuntime.cs
- AnimationStorage.cs
- InternalBufferOverflowException.cs
- XmlSchemaComplexContentExtension.cs
- SystemInfo.cs
- AnnotationObservableCollection.cs
- PieceDirectory.cs
- DesignColumnCollection.cs
- Stackframe.cs
- QilName.cs
- StrokeRenderer.cs
- BaseConfigurationRecord.cs
- RelationshipConverter.cs
- CodeValidator.cs
- WebRequestModuleElement.cs
- WebDisplayNameAttribute.cs
- WebPageTraceListener.cs
- FormViewActionList.cs
- TextTrailingWordEllipsis.cs
- MarshalByRefObject.cs
- RawStylusInputCustomDataList.cs
- OdbcErrorCollection.cs
- UnsafeNativeMethods.cs
- PolyQuadraticBezierSegment.cs
- EmptyStringExpandableObjectConverter.cs
- PackageDigitalSignature.cs
- MetadataPropertyAttribute.cs
- UIElementAutomationPeer.cs
- SchemaEntity.cs
- OpenTypeLayoutCache.cs
- SvcMapFileSerializer.cs
- CacheMemory.cs
- FunctionGenerator.cs
- BlurBitmapEffect.cs
- InternalRelationshipCollection.cs
- DesignerProperties.cs
- SchemaTableOptionalColumn.cs
- ItemAutomationPeer.cs
- HttpAsyncResult.cs
- DBSchemaRow.cs
- QilXmlWriter.cs
- MatrixTransform.cs
- CompiledQuery.cs
- PolyBezierSegment.cs
- SafePEFileHandle.cs
- TakeOrSkipWhileQueryOperator.cs
- ImageDrawing.cs
- Range.cs
- ObjectContext.cs
- StoreContentChangedEventArgs.cs
- EntityDataSourceSelectedEventArgs.cs
- ImportStoreException.cs
- HMAC.cs
- ModifierKeysConverter.cs
- CreateUserWizardStep.cs
- RecordsAffectedEventArgs.cs
- CorrelationManager.cs
- ValidatedControlConverter.cs
- HttpModuleAction.cs
- ReachFixedPageSerializerAsync.cs
- EncryptedReference.cs
- GeometryGroup.cs
- EventListenerClientSide.cs
- StorageComplexPropertyMapping.cs
- ObjectDataSource.cs
- ServicePerformanceCounters.cs
- NegotiateStream.cs
- EntitySqlQueryCacheEntry.cs
- XXXInfos.cs
- FastPropertyAccessor.cs
- RegexGroup.cs
- DBSchemaTable.cs
- StaticExtension.cs
- SQLStringStorage.cs
- PerfCounterSection.cs
- BindStream.cs
- ServiceOperationListItemList.cs
- EventLogger.cs
- ToolStripManager.cs
- CustomPopupPlacement.cs
- HandlerMappingMemo.cs
- Dump.cs
- KeyTimeConverter.cs
- AssemblyFilter.cs
- ExeContext.cs
- BooleanFunctions.cs
- DisplayNameAttribute.cs
- XmlSchemaIdentityConstraint.cs
- GPPOINTF.cs
- Input.cs
- FileVersionInfo.cs