Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / StorageModelBuildProvider.cs / 1 / StorageModelBuildProvider.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 SSDL in ADO .NET /// /// [BuildProviderAppliesTo(BuildProviderAppliesTo.Code)] public class StorageModelBuildProvider : System.Web.Compilation.BuildProvider { ////// Default constructor /// public StorageModelBuildProvider() { } ////// 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 SSDL in ADO .NET /// /// [BuildProviderAppliesTo(BuildProviderAppliesTo.Code)] public class StorageModelBuildProvider : System.Web.Compilation.BuildProvider { ////// Default constructor /// public StorageModelBuildProvider() { } ////// 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
- FreezableOperations.cs
- ImageBrush.cs
- XPathPatternBuilder.cs
- Normalization.cs
- Propagator.ExtentPlaceholderCreator.cs
- RuleSettings.cs
- EdmError.cs
- TraceHandler.cs
- ErrorTableItemStyle.cs
- OracleBFile.cs
- TransactionInterop.cs
- InheritanceContextHelper.cs
- PipeStream.cs
- EventData.cs
- SizeF.cs
- TrackPointCollection.cs
- DataBindingHandlerAttribute.cs
- InkCanvasSelectionAdorner.cs
- ColorDialog.cs
- MonitoringDescriptionAttribute.cs
- storepermission.cs
- ToolStripContentPanelDesigner.cs
- AxHost.cs
- XsdDateTime.cs
- ToolStripPanelRow.cs
- ConsoleCancelEventArgs.cs
- HwndSubclass.cs
- AlphabeticalEnumConverter.cs
- AnimatedTypeHelpers.cs
- EdgeProfileValidation.cs
- SqlDataSourceCommandEventArgs.cs
- DataGridCell.cs
- RelOps.cs
- Exceptions.cs
- AtomicFile.cs
- ConversionValidationRule.cs
- SRGSCompiler.cs
- RegexTree.cs
- RemotingException.cs
- StringAttributeCollection.cs
- FixedPageProcessor.cs
- DesignerLoader.cs
- MsmqIntegrationBindingElement.cs
- BrowserCapabilitiesCompiler.cs
- SchemaTableColumn.cs
- DataExpression.cs
- DrawingContextWalker.cs
- DescendantOverDescendantQuery.cs
- CodeExporter.cs
- RegionIterator.cs
- SQLMembershipProvider.cs
- DiagnosticStrings.cs
- TextEncodedRawTextWriter.cs
- ShutDownListener.cs
- XhtmlBasicObjectListAdapter.cs
- SocketAddress.cs
- httpapplicationstate.cs
- WebPartDescription.cs
- ListViewSortEventArgs.cs
- GuidConverter.cs
- Misc.cs
- HandleCollector.cs
- TreeNode.cs
- SHA512.cs
- RadioButton.cs
- IndexedString.cs
- GridItemPattern.cs
- MatrixAnimationUsingKeyFrames.cs
- CultureTableRecord.cs
- UnwrappedTypesXmlSerializerManager.cs
- XPathNavigator.cs
- NetTcpSecurity.cs
- WindowsFont.cs
- RemoteEndpointMessageProperty.cs
- __ConsoleStream.cs
- DynamicResourceExtensionConverter.cs
- GenericIdentity.cs
- FrameworkElementAutomationPeer.cs
- QueryIntervalOp.cs
- CrossContextChannel.cs
- StorageFunctionMapping.cs
- MenuBase.cs
- PassportPrincipal.cs
- RuntimeHelpers.cs
- RegistrationServices.cs
- SystemMulticastIPAddressInformation.cs
- LinearQuaternionKeyFrame.cs
- FullTextState.cs
- ExtensionQuery.cs
- CacheAxisQuery.cs
- FragmentQuery.cs
- WindowsGraphics.cs
- InitializationEventAttribute.cs
- EditingCoordinator.cs
- DataRow.cs
- KnownColorTable.cs
- KeyPressEvent.cs
- SqlUDTStorage.cs
- HttpCachePolicy.cs
- Splitter.cs