//----------------------------------------------------------------//

        public BaseDbOperation(ISession session)
        {
            Session     = session;
            TableName   = $"public.{TableFactory.GetNameTable<T>()}";
            Connection  = session.Connection;
            Transaction = session.Transaction;
        }
Esempio n. 2
0
        //----------------------------------------------------------------//

        public BaseDBOperation(IDbConnection connection, IDbTransaction transaction)
        {
            _connection  = connection;
            _transaction = transaction;
            TableName    = TableFactory.GetNameTable <T>();
        }