BuildContributor Class
Derivatives of the BuildContributor extension are executed during a project build after the project's model has been constructed and verified.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.Build.BuildContributor
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Class BuildContributor _
Implements IExtension
public class BuildContributor : IExtension
public ref class BuildContributor : IExtension
type BuildContributor =
class
interface IExtension
end
public class BuildContributor implements IExtension
The BuildContributor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BuildContributor | Initializes a new instance of the BuildContributor class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnExecute | Called by the Visual Studio build process after the model has been built. This method provides to derived versions of this contributor an opportunity to examine the model and possibly generate additional files. | |
OnPopulateArguments | Called by the Visual Studio build process when a project is loaded. This method provides a list of extensible arguments that users can specify at a command prompt to modify the project file. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
The BuildContributor class is one of the extension points for adding functionality to Visual Studio Application Lifecycle Management (ALM).
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Data.Schema.Build Namespace
Other Resources
Walkthrough: Extend Database Project Build to Generate Model Statistics