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
- BufferedGraphicsContext.cs
- BamlCollectionHolder.cs
- UIElement3D.cs
- _RequestLifetimeSetter.cs
- SrgsElement.cs
- IUnknownConstantAttribute.cs
- SqlNodeAnnotation.cs
- RestrictedTransactionalPackage.cs
- PackWebRequestFactory.cs
- ResXResourceSet.cs
- SettingsProviderCollection.cs
- Compilation.cs
- TypeLoadException.cs
- CommonRemoteMemoryBlock.cs
- SpellerHighlightLayer.cs
- CultureInfo.cs
- PolicyChain.cs
- DrawingAttributeSerializer.cs
- ExpressionEditorSheet.cs
- LambdaCompiler.Address.cs
- MemberPathMap.cs
- TextParaClient.cs
- securitycriticaldataClass.cs
- EventTrigger.cs
- DelayLoadType.cs
- SamlNameIdentifierClaimResource.cs
- Enum.cs
- TypeBrowserDialog.cs
- CreateDataSourceDialog.cs
- TextEndOfSegment.cs
- CryptoApi.cs
- OdbcStatementHandle.cs
- OptimalBreakSession.cs
- NamedObject.cs
- ObjectParameter.cs
- ProxyElement.cs
- ResourcesChangeInfo.cs
- XmlElement.cs
- controlskin.cs
- UndoManager.cs
- ExpressionParser.cs
- GroupPartitionExpr.cs
- WebPartDisplayModeEventArgs.cs
- FilterElement.cs
- basecomparevalidator.cs
- EnterpriseServicesHelper.cs
- HwndMouseInputProvider.cs
- EventDescriptorCollection.cs
- ExpressionDumper.cs
- KeyedHashAlgorithm.cs
- CookieProtection.cs
- ToolStripPanelSelectionGlyph.cs
- EntityDataSourceContainerNameItem.cs
- BaseDataListDesigner.cs
- CodeTypeReference.cs
- SemaphoreSlim.cs
- SiteMapHierarchicalDataSourceView.cs
- LinkAreaEditor.cs
- DataGridViewCellLinkedList.cs
- OracleParameterCollection.cs
- IndexerNameAttribute.cs
- Int16Animation.cs
- ExtendedProtectionPolicy.cs
- UIElement3DAutomationPeer.cs
- PointValueSerializer.cs
- RelationshipFixer.cs
- EnvironmentPermission.cs
- UnmanagedMemoryStream.cs
- BevelBitmapEffect.cs
- ComponentRenameEvent.cs
- TextServicesDisplayAttribute.cs
- DirectoryObjectSecurity.cs
- Subordinate.cs
- DesignerResources.cs
- ConfigsHelper.cs
- TreeNodeBindingDepthConverter.cs
- XmlCharCheckingWriter.cs
- DataProtection.cs
- GrammarBuilderDictation.cs
- ParseHttpDate.cs
- EncoderFallback.cs
- SafeRightsManagementHandle.cs
- XmlSubtreeReader.cs
- Solver.cs
- __Error.cs
- ListViewItem.cs
- LayoutUtils.cs
- XmlSchemaGroup.cs
- SerializationBinder.cs
- PassportAuthentication.cs
- RegexCode.cs
- RuntimeVariableList.cs
- EventRouteFactory.cs
- ServiceChannelManager.cs
- SimpleTypeResolver.cs
- TemplateBaseAction.cs
- ToolBarOverflowPanel.cs
- FormDesigner.cs
- GridViewRowPresenterBase.cs
- TrackingValidationObjectDictionary.cs