Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / MappingModelBuildProvider.cs / 1 / 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. //---------------------------------------------------------------------- //// 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
- DateTimePicker.cs
- TextBox.cs
- FileInfo.cs
- XmlTextReaderImpl.cs
- Literal.cs
- AssemblyCollection.cs
- UTF8Encoding.cs
- SelfIssuedSamlTokenFactory.cs
- InvalidEnumArgumentException.cs
- NotifyIcon.cs
- XmlTextReaderImplHelpers.cs
- EventLogPermissionEntryCollection.cs
- LineMetrics.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- RoleManagerSection.cs
- StringCollectionMarkupSerializer.cs
- Enum.cs
- MarshalByRefObject.cs
- DocumentViewer.cs
- FontStretches.cs
- UpWmlPageAdapter.cs
- DoubleLinkList.cs
- PagerSettings.cs
- GuidelineSet.cs
- ImmComposition.cs
- grammarelement.cs
- Win32.cs
- ContentElement.cs
- DbMetaDataCollectionNames.cs
- KeyFrames.cs
- DataObjectAttribute.cs
- SQLConvert.cs
- CompensateDesigner.cs
- FixedSOMLineCollection.cs
- ProfilePropertyNameValidator.cs
- Root.cs
- _SSPISessionCache.cs
- BindingBase.cs
- ImageAnimator.cs
- ToolStripDropDownItem.cs
- TreeNodeSelectionProcessor.cs
- WebPartCancelEventArgs.cs
- NullExtension.cs
- DtdParser.cs
- TableProviderWrapper.cs
- GridViewRowCollection.cs
- XappLauncher.cs
- RangeValuePatternIdentifiers.cs
- ProgressBarHighlightConverter.cs
- SettingsSection.cs
- HttpApplicationFactory.cs
- SchemaTypeEmitter.cs
- SpinLock.cs
- FreeFormDesigner.cs
- SoapExtensionImporter.cs
- DES.cs
- ProtocolsConfigurationHandler.cs
- QueryGeneratorBase.cs
- ResourceDescriptionAttribute.cs
- MailDefinition.cs
- QilIterator.cs
- DWriteFactory.cs
- MessageEnumerator.cs
- Rijndael.cs
- TreeView.cs
- control.ime.cs
- Utils.cs
- PinnedBufferMemoryStream.cs
- OciLobLocator.cs
- SequentialUshortCollection.cs
- SoapClientProtocol.cs
- MsdtcClusterUtils.cs
- RenderCapability.cs
- Descriptor.cs
- ObjectListItem.cs
- StreamGeometryContext.cs
- sortedlist.cs
- ListViewPagedDataSource.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- OleDbCommandBuilder.cs
- XmlExtensionFunction.cs
- AuthenticationModuleElementCollection.cs
- ComboBox.cs
- RegularExpressionValidator.cs
- SuppressMergeCheckAttribute.cs
- IisTraceWebEventProvider.cs
- ProfileParameter.cs
- WebPartMovingEventArgs.cs
- HScrollBar.cs
- PermissionSet.cs
- _CookieModule.cs
- DataSourceView.cs
- SpellerHighlightLayer.cs
- Rfc2898DeriveBytes.cs
- SqlDataSourceView.cs
- UniqueTransportManagerRegistration.cs
- Parameter.cs
- ConfigurationSectionGroupCollection.cs
- RootBrowserWindow.cs
- SafeSecurityHelper.cs