Share via


ColumnConfigAnnotation Class

Represents configuration settings for a column in a data generation plan.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ModelAnnotation
    Microsoft.Data.Schema.Tools.DataGenerator.ColumnConfigAnnotation

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public NotInheritable Class ColumnConfigAnnotation _
    Inherits ModelAnnotation
public sealed class ColumnConfigAnnotation : ModelAnnotation
public ref class ColumnConfigAnnotation sealed : public ModelAnnotation
[<Sealed>]
type ColumnConfigAnnotation =  
    class
        inherit ModelAnnotation
    end
public final class ColumnConfigAnnotation extends ModelAnnotation

The ColumnConfigAnnotation type exposes the following members.

Properties

  Name Description
Public property AcceptsNullValues Gets a value that indicates whether the column can accept nulla null reference (Nothing in Visual Basic) values.
Public property AnnotationClass Gets the metadata object that describes this instance. (Inherited from ModelAnnotation.)
Public property CanBePopulated Gets a value that indicates whether the column can be populated with data.
Public property GeneratorExtensionHandleXml Gets or sets the extension handle string.
Public property HasDefaultValue Gets a value that indicates whether the column has a default value.
Public property IsAttachedToStore Gets a value that indicates whether the annotation is attached to a ModelStore. (Inherited from ModelAnnotation.)
Public property IsPartOfForeignKey Gets a value that indicates whether the column is part of a foreign key.
Public property IsPartOfPrimaryKey Gets a value that indicates whether the column is part of the primary key.
Public property IsPartOfUniqueConstraint Gets a value that indicates whether the column is part of a unique constraint.
Public property Model Gets or sets the ModelStore. (Inherited from ModelAnnotation.)
Public property Name Gets or sets the annotation name. (Inherited from ModelAnnotation.)
Public property OutputKey Gets or sets an output key.
Public property Seed Gets or sets the seed value that is specified when an identity column in a table or a view that has an identity column is created.
Public property Selected Returns a value that indicates whether the column is selected.

Top

Methods

  Name Description
Public method Delete Deletes this instance from the schema model. (Inherited from ModelAnnotation.)
Public method Equals Returns a value that indicates whether a provided object is equal to the current object. (Inherited from ModelAnnotation.)
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 GetElements Returns a list of elements in this instance. (Inherited from ModelAnnotation.)
Public method GetHashCode Not required. (Inherited from ModelAnnotation.)
Public method GetProperty<TProperty> Retrieves a specified property. (Inherited from ModelAnnotation.)
Public method GetRelationshipEntries Returns the relationship entries to which this annotation is attached. (Inherited from ModelAnnotation.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDeleted Returns a value that indicates whether this instance has been deleted. (Inherited from ModelAnnotation.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetProperty<TProperty> Sets the value of the provided property. (Inherited from ModelAnnotation.)
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.Tools.DataGenerator Namespace

ModelAnnotation