Table of Contents

Class CollectionNameAttribute

Namespace
DataStax.AstraDB.DataApi.Collections
Assembly
DataStax.AstraDB.DataApi.dll

Attribute for defining the name to be given to a collection.

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

Constructors

CollectionNameAttribute(string)

Create a CollectionNameAttribute with a given name.

public CollectionNameAttribute(string name)

Parameters

name string

Properties

Name

Collection name.

public string Name { get; set; }

Property Value

string