A database based on .net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
961 B

// Author: Gockner, Simon
// Created: 2020-01-27
// Copyright(c) 2020 SimonG. All Rights Reserved.
using System;
using System.Threading.Tasks;
using GBase.Interfaces;
namespace GBase
{
/// <summary>
/// A column of a <see cref="IGBaseTable"/>
/// </summary>
public class GBaseColumn : IGBaseColumn
{
/// <summary>
/// A column of a <see cref="IGBaseTable"/>
/// </summary>
public GBaseColumn(string name, Type type, bool isKey)
{
Name = name;
Type = type;
IsKey = isKey;
}
public string Name { get; }
public Type Type { get; }
public bool IsKey { get; }
/// <summary>
/// The <see cref="IAsyncDisposable.DisposeAsync"/> method
/// </summary>
/// <returns>A <see cref="ValueTask"/> to await</returns>
public async ValueTask DisposeAsync()
{
}
}
}