Example #1
0
        public override StoredProcedureResult <TEntity> Execute()
        {
            StoredProcedureResult storedProcedureResult =
                _databaseCommander.ExecuteStoredProcedure(CommandRequest);

            List <TEntity> data = MapToEntities(storedProcedureResult.DataTable);

            return(new StoredProcedureResult <TEntity>(data, storedProcedureResult.Parameters));
        }
 public override StoredProcedureResult Execute()
 {
     return(_databaseCommander.ExecuteStoredProcedure(CommandRequest));
 }