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
- MessageBox.cs
- ClientTargetSection.cs
- ZipIOLocalFileDataDescriptor.cs
- ControlAdapter.cs
- UriExt.cs
- ObjectHandle.cs
- ReferenceTypeElement.cs
- ContainsSearchOperator.cs
- LogStore.cs
- Logging.cs
- ActivityWithResultValueSerializer.cs
- Quaternion.cs
- HyperLink.cs
- PageCodeDomTreeGenerator.cs
- Errors.cs
- SpellerInterop.cs
- Stack.cs
- ErrorFormatter.cs
- CornerRadius.cs
- SoapSchemaExporter.cs
- CorrelationValidator.cs
- FixedPageProcessor.cs
- AdjustableArrowCap.cs
- TreeNodeBindingDepthConverter.cs
- ClientSponsor.cs
- CornerRadiusConverter.cs
- SqlCachedBuffer.cs
- RectangleHotSpot.cs
- BindingList.cs
- ParallelSeparator.xaml.cs
- XpsInterleavingPolicy.cs
- updatecommandorderer.cs
- StyleXamlTreeBuilder.cs
- InternalDuplexChannelFactory.cs
- LongPath.cs
- IISMapPath.cs
- EventProviderWriter.cs
- TimelineClockCollection.cs
- Connector.xaml.cs
- CurrentChangingEventManager.cs
- ResourceProviderFactory.cs
- CounterSample.cs
- DataPagerFieldItem.cs
- StrongBox.cs
- CodeDirectionExpression.cs
- LicenseException.cs
- WebPartTransformer.cs
- ControlAdapter.cs
- ExceptionHandlerDesigner.cs
- EntitySqlException.cs
- StatusBarDrawItemEvent.cs
- BitmapEffectRenderDataResource.cs
- New.cs
- SchemaTypeEmitter.cs
- SecurityElement.cs
- MsmqReceiveHelper.cs
- CreateInstanceBinder.cs
- SerializerProvider.cs
- DataGridParentRows.cs
- PropagatorResult.cs
- RectKeyFrameCollection.cs
- TraceContext.cs
- SchemaMapping.cs
- X509AudioLogo.cs
- _HeaderInfo.cs
- CssClassPropertyAttribute.cs
- StringCollectionMarkupSerializer.cs
- ProviderConnectionPoint.cs
- BufferedReadStream.cs
- RectangleGeometry.cs
- TreeIterators.cs
- ControlAdapter.cs
- ActivityBindForm.cs
- RsaSecurityTokenParameters.cs
- ConfigurationException.cs
- UnsafeNativeMethods.cs
- DataListCommandEventArgs.cs
- httpserverutility.cs
- StringArrayConverter.cs
- TreeNodeCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- IdentifierCollection.cs
- DataColumnMapping.cs
- XmlSignatureProperties.cs
- ConnectionString.cs
- _AutoWebProxyScriptHelper.cs
- GridViewAutomationPeer.cs
- TokenBasedSetEnumerator.cs
- SubstitutionList.cs
- EnumMemberAttribute.cs
- TrustManagerPromptUI.cs
- PingReply.cs
- DataStreams.cs
- Parameter.cs
- XmlSchemaExporter.cs
- ComponentResourceKey.cs
- JournalEntryStack.cs
- XmlnsDictionary.cs
- GridViewActionList.cs
- HttpHeaderCollection.cs