diff --git a/GBase.Api/IGBaseObject.cs b/GBase/Interfaces/IGBaseObject.cs similarity index 71% rename from GBase.Api/IGBaseObject.cs rename to GBase/Interfaces/IGBaseObject.cs index 7319dd8..9a9f095 100644 --- a/GBase.Api/IGBaseObject.cs +++ b/GBase/Interfaces/IGBaseObject.cs @@ -2,15 +2,23 @@ // Created: 2020-02-14 // Copyright(c) 2020 SimonG. All Rights Reserved. +using System; using System.Collections.Generic; +using GBase.Attributes; -namespace GBase.Api +namespace GBase.Interfaces { /// /// GBase object that allows conversion from /// public interface IGBaseObject { + /// + /// Key + /// + [GBaseColumn(true)] + GBaseKey Key { get; set; } + /// /// The FileName of the GBase file for an entry of this object /// @@ -20,8 +28,9 @@ namespace GBase.Api /// Initialize this from a given /// /// The given + [Obsolete] void InitializeFromString(string @string); //TODO: Try to remove this method, work with keys - void Initialize(List parameters); + void Initialize(GBaseKey key, List parameters); } } \ No newline at end of file