Share via


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
Public method BuildContributor Initializes a new instance of the BuildContributor class.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method 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.
Protected method 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.
Public method 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

IExtension

Other Resources

Walkthrough: Extend Database Project Build to Generate Model Statistics

Extending Visual Studio Application Lifecycle Management