Samchon Framework for CPP  1.0.0
ISQLEntity.hpp
1 #pragma once
2 #include <samchon/API.hpp>
3 
4 #include <string>
5 #include <memory>
6 
7 namespace samchon
8 {
9 namespace library
10 {
11  class SQLStatement;
12 };
13 
14 namespace protocol
15 {
32  class SAMCHON_FRAMEWORK_API ISQLEntity
33  {
34  public:
38  ISQLEntity();
39  virtual ~ISQLEntity() = default;
40 
53  virtual void load(std::shared_ptr<library::SQLStatement> stmt);
54 
66  virtual void archive(std::shared_ptr<library::SQLStatement> stmt);
67 
80  virtual auto toSQL() const->std::string;
81  };
82 };
83 };
An interface supporting DB-I/O.
Definition: ISQLEntity.hpp:32
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7