Work on Db refactor

This commit is contained in:
Rick Falkvinge
2018-12-25 21:16:26 +01:00
parent c7a440c8e2
commit ac6d25f740
+5 -3
View File
@@ -17,9 +17,11 @@ namespace Swarmops.Common.Interfaces
[SuppressMessage("ReSharper", "TypeParameterCanBeVariant")]
public interface IDatabaseColumnAware<TBasic>
{
// these could all be static but C# doesn't allow static methods in interfaces
string DbTableName { get; }
string[] DbFieldSequence { get; }
string DbIdentityField { get; }
TBasic FromDataReader (IDataReader reader); // this could be static but C# doesn't allow static methods in interfaces
string[] DbColumnSequence { get; }
string DbIdentityColumn { get; }
TBasic FromDataReader (IDataReader reader);
}
}