Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / MappingModelBuildProvider.cs / 1305376 / MappingModelBuildProvider.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.CodeDom; using System.CodeDom.Compiler; using System.Globalization; using System.Web; using System.Web.Hosting; using System.Web.Compilation; namespace System.Data.Entity.Design.AspNet { ////// The ASP .NET Build provider for the MSL in ADO .NET /// /// [BuildProviderAppliesTo(BuildProviderAppliesTo.Code)] public class MappingModelBuildProvider : System.Web.Compilation.BuildProvider { ////// Default constructor /// public MappingModelBuildProvider() { } ////// We want ASP .NET to always reset the app domain when we have to rebuild /// /// ///public override BuildProviderResultFlags GetResultFlags(CompilerResults results) { return BuildProviderResultFlags.ShutdownAppDomainOnChange; } /// /// /// /// public override void GenerateCode(AssemblyBuilder assemblyBuilder) { BuildProviderUtils.AddArtifactReference(assemblyBuilder, this, base.VirtualPath); } } } // 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
- HierarchicalDataTemplate.cs
- DefaultPrintController.cs
- ViewSimplifier.cs
- SQLDoubleStorage.cs
- RotateTransform3D.cs
- AddInAdapter.cs
- IgnoreFileBuildProvider.cs
- DbRetry.cs
- BaseProcessProtocolHandler.cs
- SQLDateTime.cs
- VScrollProperties.cs
- PriorityItem.cs
- DataGridViewSelectedCellCollection.cs
- Drawing.cs
- ObjectReaderCompiler.cs
- PassportIdentity.cs
- PropertyValueChangedEvent.cs
- NativeMethods.cs
- ToolStripStatusLabel.cs
- FrameworkContentElementAutomationPeer.cs
- LoginName.cs
- CompositeTypefaceMetrics.cs
- tibetanshape.cs
- SessionStateModule.cs
- ShutDownListener.cs
- SortQuery.cs
- SafeRightsManagementQueryHandle.cs
- UriScheme.cs
- SQLSingle.cs
- SpStreamWrapper.cs
- FormViewRow.cs
- ParameterCollection.cs
- sqlpipe.cs
- ObjectQueryState.cs
- XmlSchemaObjectTable.cs
- Native.cs
- GraphicsPathIterator.cs
- StoragePropertyMapping.cs
- RegexTypeEditor.cs
- CapabilitiesPattern.cs
- SqlMethodAttribute.cs
- IISMapPath.cs
- DataSourceXmlAttributeAttribute.cs
- MaterialCollection.cs
- Stopwatch.cs
- _ListenerAsyncResult.cs
- BaseTemplateBuildProvider.cs
- MSAANativeProvider.cs
- HtmlSelect.cs
- Columns.cs
- XmlSchemaRedefine.cs
- XsltConvert.cs
- XamlSerializer.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- BoundingRectTracker.cs
- InvalidAsynchronousStateException.cs
- MainMenu.cs
- QueryAsyncResult.cs
- ClientTargetCollection.cs
- CommandTreeTypeHelper.cs
- ToolStripSettings.cs
- SiteMapSection.cs
- SystemUnicastIPAddressInformation.cs
- ToolStripDropDownClosedEventArgs.cs
- SessionEndingEventArgs.cs
- DataServiceQueryOfT.cs
- dsa.cs
- OutputCacheProfileCollection.cs
- ProfileBuildProvider.cs
- DesignerContextDescriptor.cs
- HttpSysSettings.cs
- CqlWriter.cs
- ToolboxItem.cs
- GeometryModel3D.cs
- ColumnBinding.cs
- BamlLocalizableResourceKey.cs
- AsymmetricKeyExchangeDeformatter.cs
- IndependentAnimationStorage.cs
- UITypeEditor.cs
- HighlightVisual.cs
- SiteMapDataSourceView.cs
- SystemTcpConnection.cs
- SecurityUniqueId.cs
- DataGridItemEventArgs.cs
- NullExtension.cs
- XmlWrappingReader.cs
- isolationinterop.cs
- SoapFormatterSinks.cs
- COM2TypeInfoProcessor.cs
- CommandEventArgs.cs
- FontWeights.cs
- SafeArrayRankMismatchException.cs
- PathParser.cs
- ImageListImage.cs
- SystemMulticastIPAddressInformation.cs
- DataGridViewUtilities.cs
- AnnotationComponentManager.cs
- OrthographicCamera.cs
- XmlSerializerFactory.cs
- XmlHierarchicalDataSourceView.cs