diff --git a/GBase/Interfaces/IGBaseTable.cs b/GBase/Interfaces/IGBaseTable.cs new file mode 100644 index 0000000..e63bc30 --- /dev/null +++ b/GBase/Interfaces/IGBaseTable.cs @@ -0,0 +1,30 @@ +// Author: Gockner, Simon +// Created: 2020-01-24 +// Copyright(c) 2020 SimonG. All Rights Reserved. + +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace GBase.Interfaces +{ + /// + /// A table + /// + public interface IGBaseTable : IAsyncDisposable + { + /// + /// The name of this + /// + string Name { get; } + + + /// + /// Initialize this + /// + /// The name of this + /// A to cancel the asynchronous operation + /// True if successful, false if not + Task Init(string name, CancellationToken cancellationToken); + } +} \ No newline at end of file