Table of Contents

Class TableAttribute

Namespace
Supabase.Postgrest.Attributes
Assembly
Supabase.Postgrest.dll

Used to map a C# Model to a Postgres Table.

[AttributeUsage(AttributeTargets.Class)]
public class TableAttribute : Attribute
Inheritance
TableAttribute
Inherited Members

Examples

[Table("user")]
class User : BaseModel {
    [ColumnName("firstName")]
    public string FirstName {get; set;}
}

Constructors

TableAttribute(string)

public TableAttribute(string tableName)

Parameters

tableName string

Properties

Name

public string Name { get; set; }

Property Value

string