Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / StorageModelBuildProvider.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Parameter.cs
- SynchronizedDispatch.cs
- DataFormats.cs
- MyContact.cs
- LinearQuaternionKeyFrame.cs
- FocusChangedEventArgs.cs
- StaticExtension.cs
- MatrixKeyFrameCollection.cs
- filewebresponse.cs
- ArrayTypeMismatchException.cs
- DeflateEmulationStream.cs
- Literal.cs
- Debugger.cs
- DataBoundControlHelper.cs
- HttpModuleCollection.cs
- ClientApiGenerator.cs
- Stack.cs
- InputScopeNameConverter.cs
- DataSourceHelper.cs
- SiteIdentityPermission.cs
- SqlDataSourceCommandParser.cs
- ErrorInfoXmlDocument.cs
- TimelineCollection.cs
- TextEffectResolver.cs
- SqlTransaction.cs
- LayoutEngine.cs
- XmlReflectionImporter.cs
- ParserStack.cs
- SimpleTextLine.cs
- ClrProviderManifest.cs
- HitTestFilterBehavior.cs
- MessageOperationFormatter.cs
- PieceDirectory.cs
- AttributeCollection.cs
- ScriptModule.cs
- StateDesigner.CommentLayoutGlyph.cs
- TailCallAnalyzer.cs
- SqlRewriteScalarSubqueries.cs
- Control.cs
- SafeCertificateStore.cs
- ProcessManager.cs
- ErrorItem.cs
- PenLineCapValidation.cs
- AstNode.cs
- Soap12ProtocolImporter.cs
- DataGridViewDesigner.cs
- CompilerTypeWithParams.cs
- shaperfactoryquerycachekey.cs
- HttpModuleActionCollection.cs
- ObjectComplexPropertyMapping.cs
- WsdlBuildProvider.cs
- XmlByteStreamReader.cs
- MetadataCache.cs
- TextProperties.cs
- BookmarkManager.cs
- ToolbarAUtomationPeer.cs
- UrlUtility.cs
- CfgArc.cs
- UnhandledExceptionEventArgs.cs
- XmlDataContract.cs
- wmiprovider.cs
- TimersDescriptionAttribute.cs
- Canonicalizers.cs
- MembershipSection.cs
- MeshGeometry3D.cs
- PTProvider.cs
- UTF7Encoding.cs
- TimeEnumHelper.cs
- XmlAnyElementAttributes.cs
- ObjectQuery.cs
- BamlLocalizableResourceKey.cs
- SubMenuStyleCollectionEditor.cs
- DataBindingCollection.cs
- SettingsProperty.cs
- IPCCacheManager.cs
- AutomationAttributeInfo.cs
- Graph.cs
- StylusPlugin.cs
- Journal.cs
- RSAPKCS1SignatureDeformatter.cs
- MembershipUser.cs
- autovalidator.cs
- CommandSet.cs
- ListViewTableRow.cs
- ExpressionBinding.cs
- CngAlgorithm.cs
- ParameterDataSourceExpression.cs
- PointIndependentAnimationStorage.cs
- TextServicesDisplayAttributePropertyRanges.cs
- COM2Properties.cs
- SystemIdentity.cs
- WindowsListView.cs
- SqlAliaser.cs
- ReadOnlyCollectionBuilder.cs
- GestureRecognizer.cs
- ToolStripTemplateNode.cs
- ReceiveMessageRecord.cs
- WorkflowRuntimeService.cs
- TextModifier.cs
- ListViewItemMouseHoverEvent.cs