Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Mapping / EntityViewGenerationAttribute.cs / 2 / EntityViewGenerationAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; namespace System.Data.Mapping { ////// Attribute to mark the assemblies that contain the generated views type. /// [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class EntityViewGenerationAttribute : System.Attribute { #region Constructors ////// Constructor for EntityViewGenerationAttribute /// public EntityViewGenerationAttribute(Type viewGenerationType) { EntityUtil.CheckArgumentNull(viewGenerationType, "viewGenType"); m_viewGenType = viewGenerationType; } #endregion #region Fields private Type m_viewGenType; #endregion #region Properties public Type ViewGenerationType { get { return m_viewGenType; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; namespace System.Data.Mapping { ////// Attribute to mark the assemblies that contain the generated views type. /// [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class EntityViewGenerationAttribute : System.Attribute { #region Constructors ////// Constructor for EntityViewGenerationAttribute /// public EntityViewGenerationAttribute(Type viewGenerationType) { EntityUtil.CheckArgumentNull(viewGenerationType, "viewGenType"); m_viewGenType = viewGenerationType; } #endregion #region Fields private Type m_viewGenType; #endregion #region Properties public Type ViewGenerationType { get { return m_viewGenType; } } #endregion } } // 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
- NumberSubstitution.cs
- XmlSchemaIdentityConstraint.cs
- PropVariant.cs
- AttachedPropertyMethodSelector.cs
- AnchoredBlock.cs
- AttachedPropertyDescriptor.cs
- BigInt.cs
- COM2ExtendedTypeConverter.cs
- ManageRequest.cs
- SpecularMaterial.cs
- SerializationHelper.cs
- TemplateBindingExtension.cs
- FontCacheUtil.cs
- XmlWrappingReader.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DesignerVerbToolStripMenuItem.cs
- ChangeDirector.cs
- SQLDateTimeStorage.cs
- XmlSubtreeReader.cs
- AuthenticationModulesSection.cs
- ContextStaticAttribute.cs
- DataTableReader.cs
- Int32.cs
- CustomExpression.cs
- DataGridColumnHeaderAutomationPeer.cs
- AggregateNode.cs
- FormDocumentDesigner.cs
- NullableIntSumAggregationOperator.cs
- TrackingParameters.cs
- Header.cs
- OnOperation.cs
- ZoomComboBox.cs
- VisualStyleRenderer.cs
- DataColumnMappingCollection.cs
- WindowsAuthenticationEventArgs.cs
- Registry.cs
- SplayTreeNode.cs
- FastEncoder.cs
- InvalidFilterCriteriaException.cs
- CodeObject.cs
- RelationshipFixer.cs
- TokenizerHelper.cs
- SqlCacheDependency.cs
- BitStack.cs
- Converter.cs
- RuntimeUtils.cs
- ObjectHandle.cs
- recordstatefactory.cs
- XPathArrayIterator.cs
- Parallel.cs
- CompiledRegexRunnerFactory.cs
- BorderSidesEditor.cs
- DataGridLinkButton.cs
- MulticastIPAddressInformationCollection.cs
- ReadOnlyDataSource.cs
- BaseCollection.cs
- lengthconverter.cs
- propertyentry.cs
- MemberMaps.cs
- OleDbReferenceCollection.cs
- HttpChannelHelper.cs
- CompressedStack.cs
- TypeBuilderInstantiation.cs
- Normalization.cs
- BitSet.cs
- HttpFileCollection.cs
- DataFormats.cs
- QueryInterceptorAttribute.cs
- TableParaClient.cs
- SystemUdpStatistics.cs
- ServiceHostFactory.cs
- XmlNamespaceDeclarationsAttribute.cs
- Simplifier.cs
- InputDevice.cs
- InvokePatternIdentifiers.cs
- FormsAuthenticationModule.cs
- AsyncWaitHandle.cs
- GeometryDrawing.cs
- DocumentsTrace.cs
- AddInPipelineAttributes.cs
- IdentitySection.cs
- SizeChangedInfo.cs
- MouseEventArgs.cs
- MenuAutomationPeer.cs
- MailWebEventProvider.cs
- MenuTracker.cs
- Bidi.cs
- ObjectDataSource.cs
- TextEditorContextMenu.cs
- PathSegment.cs
- ConnectionProviderAttribute.cs
- WebPartCancelEventArgs.cs
- ButtonColumn.cs
- MouseWheelEventArgs.cs
- Asn1Utilities.cs
- _AutoWebProxyScriptWrapper.cs
- PageHandlerFactory.cs
- ImageListStreamer.cs
- FontDialog.cs
- ListSourceHelper.cs