Table of Contents

Class UserDefinedTypeAttribute

Namespace
DataStax.AstraDB.DataApi.Tables
Assembly
DataStax.AstraDB.DataApi.dll

Attribute to annotate a class as being a User Defined Type

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class UserDefinedTypeAttribute : Attribute, _Attribute
Inheritance
UserDefinedTypeAttribute
Implements
Inherited Members

Constructors

UserDefinedTypeAttribute()

Construct without a name (will default to class name)

public UserDefinedTypeAttribute()

UserDefinedTypeAttribute(string)

Construct and specify the name to use for the User Defined Type

public UserDefinedTypeAttribute(string name)

Parameters

name string

Properties

Name

Name of this type (will default to the class name if left null)

public string Name { get; set; }

Property Value

string