@ -17,6 +17,6 @@ namespace GBase.Factories
/// Creates an <see cref="IGBaseColumn"/>
/// </summary>
/// <returns>A newly created instance of the implementation for <see cref="IGBaseColumn"/></returns>
IGBaseColumn Create(string name, Type type);
IGBaseColumn Create(string name, Type type, bool isKey);
}
@ -16,14 +16,16 @@ namespace GBase
/// <summary>
/// A column of a <see cref="IGBaseTable"/>
public GBaseColumn(string name, Type type)
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; }
/// The <see cref="IAsyncDisposable.DisposeAsync"/> method
@ -13,5 +13,6 @@ namespace GBase.Interfaces
string Name { get; }
Type Type { get; }
bool IsKey { get; }