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 / Mapping / EntityViewGenerationAttribute.cs / 1 / 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
- TouchPoint.cs
- DbgCompiler.cs
- FreeFormDesigner.cs
- SmiXetterAccessMap.cs
- MetadataResolver.cs
- TableLayoutPanelDesigner.cs
- WebServiceMethodData.cs
- DBDataPermission.cs
- TextServicesContext.cs
- ManagedWndProcTracker.cs
- _ContextAwareResult.cs
- TextBounds.cs
- BindingExpressionUncommonField.cs
- PropertyValueChangedEvent.cs
- CompensateDesigner.cs
- ListViewGroupConverter.cs
- DataGridrowEditEndingEventArgs.cs
- HtmlDocument.cs
- OSEnvironmentHelper.cs
- IndentedWriter.cs
- RectKeyFrameCollection.cs
- PassportAuthenticationEventArgs.cs
- XmlSchemaAnnotation.cs
- ArgumentException.cs
- MimeImporter.cs
- ScriptReferenceBase.cs
- JapaneseLunisolarCalendar.cs
- UIEndRequest.cs
- StrongNameKeyPair.cs
- Content.cs
- NativeMethodsCLR.cs
- CodeParameterDeclarationExpression.cs
- ColumnWidthChangingEvent.cs
- UserControl.cs
- EnumerableCollectionView.cs
- HyperLink.cs
- KeyboardDevice.cs
- XslVisitor.cs
- FontResourceCache.cs
- DirectoryNotFoundException.cs
- ConnectionDemuxer.cs
- PenCursorManager.cs
- BamlRecordHelper.cs
- SapiRecoInterop.cs
- TargetFrameworkAttribute.cs
- Utils.cs
- DirectoryObjectSecurity.cs
- ListItemParagraph.cs
- XmlLanguageConverter.cs
- LabelLiteral.cs
- AnonymousIdentificationModule.cs
- TextOnlyOutput.cs
- Base64Encoder.cs
- ToolStripDesignerAvailabilityAttribute.cs
- WebPartUserCapability.cs
- X509CertificateTrustedIssuerElement.cs
- DocumentAutomationPeer.cs
- _AutoWebProxyScriptWrapper.cs
- EventSourceCreationData.cs
- PathGradientBrush.cs
- WsatServiceCertificate.cs
- DependencyPropertyConverter.cs
- CallbackDebugElement.cs
- DataGrid.cs
- SpeechSeg.cs
- DuplexClientBase.cs
- BinaryWriter.cs
- DesignTimeParseData.cs
- WindowsFormsHost.cs
- Compiler.cs
- HandoffBehavior.cs
- DeclarationUpdate.cs
- FillBehavior.cs
- Converter.cs
- ConfigXmlDocument.cs
- ContentValidator.cs
- sqlcontext.cs
- BCLDebug.cs
- StrongNameIdentityPermission.cs
- NonPrimarySelectionGlyph.cs
- OuterGlowBitmapEffect.cs
- DispatchOperationRuntime.cs
- CoreSwitches.cs
- DataListItemCollection.cs
- HelpProvider.cs
- Action.cs
- webclient.cs
- DataSourceView.cs
- GeneralTransformCollection.cs
- WeakReferenceKey.cs
- InfiniteIntConverter.cs
- NodeFunctions.cs
- ConvertersCollection.cs
- DefaultValidator.cs
- DoubleKeyFrameCollection.cs
- LinqExpressionNormalizer.cs
- StrokeIntersection.cs
- CalloutQueueItem.cs
- FlowLayout.cs
- ExtensionWindowHeader.cs