EntityClean Class

Called by MSBuild to remove intermediate files that were created by the EntityDeploy task.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.Data.Entity.Build.Tasks.EntityClean

Namespace:  Microsoft.Data.Entity.Build.Tasks
Assembly:  Microsoft.Data.Entity.Build.Tasks (in Microsoft.Data.Entity.Build.Tasks.dll)

Syntax

'Declaration
Public Class EntityClean _
    Inherits Task
public class EntityClean : Task
public ref class EntityClean : public Task
type EntityClean =  
    class 
        inherit Task 
    end
public class EntityClean extends Task

The EntityClean type exposes the following members.

Constructors

  Name Description
Public method EntityClean Called by MS build to initialize a new instance of EntityClean.

Top

Properties

  Name Description
Public property BuildEngine Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)
Public property BuildEngine2 Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)
Public property BuildEngine3 Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.)
Public property BuildEngine4 Gets the instance of the IBuildEngine4 object used by the task. (Inherited from Task.)
Protected property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.)
Public property HostObject Gets or sets the host object associated with the task. (Inherited from Task.)
Public property Log Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.)
Public property OutputPath Returns the path from which model and mapping files are deleted.
Public property ResourceOutputPath Returns the path from which model and mapping files are deleted.
Public property Sources An array of pointers to .edmx files. Each file is passed to MSBuild as a build item.
Protected property TaskResources Gets or sets the culture-specific resources associated with the task. (Inherited from Task.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute Called by MSBuild to delete model and mapping files when they were not embedded as resources. (Overrides Task.Execute().)
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 the default hash function. (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.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

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.Entity.Build.Tasks Namespace