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
namestring
Properties
Name
Collection name.
public string Name { get; set; }