Bagikan melalui


DataSchemaModelEventArgs Class

Provides event arguments for events that are raised when the DataSchemaModel, or an element of it, changes.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Data.Schema.SchemaModel.ModelEventArgs
      Microsoft.Data.Schema.SchemaModel.DataSchemaModelEventArgs

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataSchemaModelEventArgs _
    Inherits ModelEventArgs
[SerializableAttribute]
public class DataSchemaModelEventArgs : ModelEventArgs
[SerializableAttribute]
public ref class DataSchemaModelEventArgs : public ModelEventArgs
[<SerializableAttribute>]
type DataSchemaModelEventArgs =  
    class
        inherit ModelEventArgs
    end
public class DataSchemaModelEventArgs extends ModelEventArgs

The DataSchemaModelEventArgs type exposes the following members.

Constructors

  Name Description
Public method DataSchemaModelEventArgs(DataSchemaModel, ModelEventType) Initializes a new instance of the DataSchemaModelEventArgs class by using the provided model and event type.
Public method DataSchemaModelEventArgs(DataSchemaModel, IList<Tuple<IModelElement, ModelEventType>>) Initializes a new instance of the DataSchemaModelEventArgs class by using the provided model and the list of elements and event types.
Public method DataSchemaModelEventArgs(DataSchemaModel, IModelElement, ModelEventType) Initializes a new instance of the DataSchemaModelEventArgs class by using the provided model, element, and event type.

Top

Properties

  Name Description
Public property Changes Gets a list of all changes. (Inherited from ModelEventArgs.)
Public property ElementProcessingOperationsCount Gets the number of operations that have occurred when model elements were processed.
Public property Model Gets or sets the DataSchemaModel that is associated with this event argument object.

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.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.SchemaModel Namespace

DataSchemaModel